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: 4648
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
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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