Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to transfer a ZIP file from mainframe to PC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ayubjohnyshaik

New User


Joined: 02 Feb 2006
Posts: 8
Location: singapore

PostPosted: Thu Feb 02, 2006 8:54 am    Post subject: How to transfer a ZIP file from mainframe to PC
Reply with quote

hai,

WE NORMALLY USE 'OGET..' COMMAND ON MAINFRAME TO TANSFER A TEXT FILE...I AM TRYING TO TRANSFER OR EXTRACT A ZIPFILE FROM THE MAINFRAME..SO HOW COULD I FILE TRANFER THE ZIP FILE....IF A JCL IS REQUIRED FOR THE FILE TRANSER METHOD....HOW WILL IT BE LIKE??(I.e, I NEED A JCL FOR FILE TRANFER)


johny..
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu Feb 02, 2006 9:22 pm    Post subject: Re: How to transfer a ZIP file from mainframe to PC
Reply with quote

How does this zip archive file exist? As an HFS file or as an MVS dataset?

Most PC 3270-emulation programs have a file transfer option built-in that use the IND$FILE transfer protocol. If that is not what you intend to use, then what DO you intend to use? Is the system you want to transfer the file to a Server with an active FTP server running?
Back to top
View user's profile Send private message
ayubjohnyshaik

New User


Joined: 02 Feb 2006
Posts: 8
Location: singapore

PostPosted: Fri Feb 03, 2006 8:02 am    Post subject:
Reply with quote

hai,

THE ZIP ARCHIVE FILE IS AN HFS FILE...I HAVE TRIED USING THE FILE TRANSFER OPTION BUILT-IN THAT USE THE IND$FILE PROTOCOL...
AND MORE OVER WHAT I WANT TO TRANSFER IS AN UNIX FILE WITH A BINARY OPTION.....SO WHEN I AM RECEIVING THE DATA,ITS BEING CORRUPTED....SO WHAT SHOULD I DO RETRIVE THE FULL DATA WITHOUT ANY CORRUPT...I THINK WE SHOULD CAN USE A JCL FOR SUCH FILE TRANSFER...BUT I DONT KNOW THAT JCL......CAN ANYBODY PLS HELP ME

JOHNY..
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Fri Feb 03, 2006 8:42 am    Post subject:
Reply with quote

FTP JCL:

//FTPSTEP EXEC PGM=FTP
//INPUT DD *
open ftp_url
binary
put '"outpdsn"'"
quit"
/*

Substitute URL of destination for ftp_url.
Supstitue file to be transfered for outpdsn
Back to top
View user's profile Send private message
chandru_g

New User


Joined: 07 Mar 2006
Posts: 5

PostPosted: Tue Mar 07, 2006 7:25 pm    Post subject: Re: How to transfer a ZIP file from mainframe to PC
Reply with quote

Hi,

I guess you can use FTP to get the ZIP file from mainframes. Connect to mainframe using FTP and then try to get the file. I using FTP to get files from mainframes but never tried zip file, I feel this should work.

ayubjohnyshaik wrote:
hai,

WE NORMALLY USE 'OGET..' COMMAND ON MAINFRAME TO TANSFER A TEXT FILE...I AM TRYING TO TRANSFER OR EXTRACT A ZIPFILE FROM THE MAINFRAME..SO HOW COULD I FILE TRANFER THE ZIP FILE....IF A JCL IS REQUIRED FOR THE FILE TRANSER METHOD....HOW WILL IT BE LIKE??(I.e, I NEED A JCL FOR FILE TRANFER)


johny..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Mainframe Opening in Chennai ( 2 to 4... muralikrishnan_new Mainframe Jobs 0 Tue Jul 18, 2017 2:20 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us