ftp from unix



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

ftp from unix

Postby qsc123 » Sun Jan 04, 2009 3:04 pm

can anyone pls tell how to perform ftp from unix into mainframe...a jcl for the same is also welcome...
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ftp from unix

Postby dick scherrer » Sun Jan 04, 2009 9:03 pm

Hello and welcome to the forum,

If you want to ftp a file from unix to the mainframe, suggest you pre-allocate the file on the mainframe (determine the attributes for the file before allocating) and send the file from a unix script. For ease of use, you will want to create fixed-length records rather than variable. If you send/push the file from the unix system, no jcl will be needed.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ftp from unix

Postby qsc123 » Mon Jan 05, 2009 9:34 am

thanks for the prompt reply...ok...but what if do want to use a jcl..how do i go abt doing it?can u suggest any books where i can refer these concepts
qsc123
 
Posts: 8
Joined: Sun Jan 04, 2009 3:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ftp from unix

Postby dick scherrer » Mon Jan 05, 2009 9:54 am

Hello,

FTP is basically the same from platform to platform (the commands and general process). To use jcl on the mainframe to "pull" data from the unix system, check with the unix sysadmins to make sure you can connect to the unix ftp server correctly and have permission to read the directory(ies) where the files to be sent are located.

The best source of sample jcl is your system support people. They can show you exactly which jcl should be used on your system.

Here is a link to the IBM material:
http://publibz.boulder.ibm.com/cgi-bin/ ... 0530175427
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ftp from unix

Postby MrSpock » Mon Jan 05, 2009 10:06 am

User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: ftp from unix

Postby dick scherrer » Mon Jan 05, 2009 10:17 am

Happy New Year, Mr Spock - good to see you this year :)

Yup, the link i gave is Title: z/OS V1R9.0 Comm Svr: IP User's Guide and Commands the same link ;)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post