Connect:direct a PDS file from Mainframe to Unix



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

Connect:direct a PDS file from Mainframe to Unix

Postby bluesnow » Thu Dec 15, 2011 12:28 pm

Hi, everybody.
Is it possible to CD a PDS file from Mainframe to Unix? I've created a folder in Unix server, and want to send all the members of the PDS file to the folder, the name should be the elements' names and it will be better if the filename extension could be added in the CD command. The jcl to CD VSAM to Unix is as below. Anyone could help to change to CD PDS file? Thanks a lot.
STEP001 COPY FROM (PNODE -
DSN=&DS -
DISP=SHR) -
TO (SNODE -
DSN=\'&DIR || -
\&FNAME'\ -
SYSOPTS=":DATATYPE=BINARY:XLATE=NO:" -
DISP=RPL) -
COMPRESS EXT
bluesnow
 
Posts: 2
Joined: Wed Dec 14, 2011 7:45 am
Has thanked: 0 time
Been thanked: 0 time

Re: Connect:direct a PDS file from Mainframe to Unix

Postby dick scherrer » Fri Dec 16, 2011 1:23 am

Hello and welcome to the forum,

Suggest you send each member as an individual file to the target directory.

As you probably know, unix does not "do" IBM partitioned datasets.
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


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post