Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us