MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP file to Mainframe

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
bonie
Beginner


Joined: 18 Feb 2007
Posts: 5
Topics: 3

PostPosted: Sat Mar 14, 2009 2:59 am    Post subject: FTP file to Mainframe Reply with quote

Requirement:

I have a file on third party server as DONE.DEPTXXX.ZIP.SENT and I need transfer this file to mainframe using FTP with the below requirements in a JCL.


1.File DONE.DEPTXXX.ZIP.SENT should be renamed to DEPTXXX.ZIP and unzipped to DEPTXXX
2.DEPTXXX file should be transferred to mainframe with 230 lrecl.

Can this be achieved without modifying the original file at the third party server by?
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Sat Mar 14, 2009 5:32 am    Post subject: Reply with quote

I'm a bit confused. Can you describe what step gets done where? Don't you have to transfer DONE.DEPTXXX.ZIP.SENT to your system first?
Back to top
View user's profile Send private message
bonie
Beginner


Joined: 18 Feb 2007
Posts: 5
Topics: 3

PostPosted: Sat Mar 14, 2009 10:10 pm    Post subject: Reply with quote

Superk,

1.File DONE.DEPTXXX.ZIP.SENT exists on third party server which should be transferred to our Unix box first.

2. It should be renamed to DEPTXXX.ZIP and unzipped to DEPTXXX.
3.DEPTXXX file should be transferred to mainframe with 230 lrecl.

Hope i am clear.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Sun Mar 15, 2009 8:52 am    Post subject: Reply with quote

I don't know why you want to tie up your network bandwidth by moving a file twice, and your disk space by storing it twice, but you obviously have these specifications for a reason. Since the discussions here are supposed to be restricted to the mainframe, I don't think there can be much comment on the first two parts of the process. For the third, why don't you want to "push" the file from the Unix to the mainframe?
Back to top
View user's profile Send private message
computer
Beginner


Joined: 12 Jun 2007
Posts: 64
Topics: 17
Location: Hyderabad

PostPosted: Mon Mar 16, 2009 6:08 am    Post subject: Reply with quote

Hi,

Can anybody tell me how we are going to do ZIP & UNZIP process through FTP process from mainframe end.

Thanks in advance,
Manoj
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Mar 16, 2009 7:06 am    Post subject: Reply with quote

Manoj, the most important thing to know is do you have the PKZIP/PKUNZIP products installed and licensed on your systems?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group