Page 1 of 1

Convert a PDS to a sequential file.

Posted: Mon Dec 29, 2014 4:30 pm
by Supriya Pathak
Hi,

I want to create a sequential data set from a partitioned library. This partitioned library has a lot of members. Is there a way to do it? Please help me out. Thanks.

Re: Convert a PDS to a sequential file.

Posted: Mon Dec 29, 2014 5:14 pm
by enrico-sorichetti
and ... what will be the use of the sequential file ???

Re: Convert a PDS to a sequential file.

Posted: Mon Dec 29, 2014 7:52 pm
by Robert Sample
If you don't need to use the sequential file for anything, IEBCOPY can create a sequential data set from a PDS. The LRECL is different and the only way to use the sequential data set is with IEBCOPY, but it does create a sequential data set. If you are wanting to copy the sequential data set using FTP or other transfer utility, the sequential data set must be transferred using binary as it contains non-printing characters.

If you need to be able to use the sequential data set with another program, you are most likely going to have to copy -- member by member -- the PDS.