Page 1 of 1

Connect:direct a PDS file from Mainframe to Unix

PostPosted: Thu Dec 15, 2011 12:28 pm
by bluesnow
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

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

PostPosted: Fri Dec 16, 2011 1:23 am
by dick scherrer
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.