IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to transfer a ZIP file from mainframe to PC


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Feb 02, 2006 9:22 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top