View previous topic :: View next topic |
Author |
Message |
bonie Beginner
Joined: 18 Feb 2007 Posts: 5 Topics: 3
|
Posted: Sat Mar 14, 2009 2:59 am Post subject: FTP file to Mainframe |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Sat Mar 14, 2009 5:32 am Post subject: |
|
|
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 |
|
|
bonie Beginner
Joined: 18 Feb 2007 Posts: 5 Topics: 3
|
Posted: Sat Mar 14, 2009 10:10 pm Post subject: |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Sun Mar 15, 2009 8:52 am Post subject: |
|
|
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 |
|
|
computer Beginner
Joined: 12 Jun 2007 Posts: 64 Topics: 17 Location: Hyderabad
|
Posted: Mon Mar 16, 2009 6:08 am Post subject: |
|
|
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 |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Mar 16, 2009 7:06 am Post subject: |
|
|
Manoj, the most important thing to know is do you have the PKZIP/PKUNZIP products installed and licensed on your systems? |
|
Back to top |
|
|
|
|