Convert a PDS to a sequential file.

JES2/3, JCL, utilities.
Post Reply
Supriya Pathak
New Member
Posts: 7
Joined: Wed Jul 30, 2014 4:27 pm

Convert a PDS to a sequential file.

Post 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.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Convert a PDS to a sequential file.

Post by enrico-sorichetti »

and ... what will be the use of the sequential file ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Convert a PDS to a sequential file.

Post 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.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”