Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Read the member of a PDS line by line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
saurabh7878
Warnings : 1

New User


Joined: 02 Jun 2005
Posts: 16

PostPosted: Tue Apr 22, 2008 5:52 pm    Post subject: Read the member of a PDS line by line
Reply with quote

Dear All
Is it possible to read the member of the PDS line by line.

I have a req where i have to read the member and from each member based on the certain conditions copy the content into different PS.

Saurabh
Back to top
View user's profile Send private message
References
PostPosted: Tue Apr 22, 2008 5:52 pm    Post subject: Re: Read the member of a PDS line by line Reply with quote

Moved: Tue Apr 22, 2008 5:57 pm by superk From CLIST & REXX to SMS & VSAM
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3002
Location: Charlotte,NC USA

PostPosted: Tue Apr 22, 2008 5:58 pm    Post subject: Reply to: Read the member of a PDS line by line
Reply with quote

Of course, it's just a standard, normal READ process.

If the file DD is properly pointing to the member:

//INFILE DD DISP=SHR,DSN=MY.PDS(MEMBER)

then it's read like any other sequential dataset.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1