Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how can we read all members from a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
miaoluzeng

New User


Joined: 29 Aug 2007
Posts: 10
Location: CHINA

PostPosted: Wed Apr 23, 2008 2:49 pm    Post subject: how can we read all members from a PDS
Reply with quote

i want to read all members from a pds but i dont know the member name and total number. how to do?
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Wed Apr 23, 2008 2:52 pm    Post subject:
Reply with quote

Copy all the members into one PS using 3.3 + PDS(*).
And READ that PS in program.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Apr 23, 2008 3:26 pm    Post subject: Reply to: how can we read all members from a PDS
Reply with quote

Use the ISPF Library Management (LM) Services.

See these previous topics:

http://www.ibmmainframes.com/viewtopic.php?t=5501
http://www.ibmmainframes.com/viewtopic.php?t=23076
http://www.ibmmainframes.com/viewtopic.php?t=2079
http://www.ibmmainframes.com/viewtopic.php?t=10082
Back to top
View user's profile Send private message
miaoluzeng

New User


Joined: 29 Aug 2007
Posts: 10
Location: CHINA

PostPosted: Thu Apr 24, 2008 6:56 am    Post subject:
Reply with quote

hi gnanas,
now the problem is if i copy all members into ps,i cannot computer total lines of a member
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 24, 2008 7:07 am    Post subject:
Reply with quote

You asked in a COBOL Forum, programmatically count them....

What does "海纳百川" mean?
Back to top
View user's profile Send private message
miaoluzeng

New User


Joined: 29 Aug 2007
Posts: 10
Location: CHINA

PostPosted: Tue Apr 29, 2008 12:18 pm    Post subject:
Reply with quote

.....yes,it is a big problem for me in the batch.
after i reply the "海纳百川" allways follow me,i don't know how to destroy it.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Apr 29, 2008 12:23 pm    Post subject: Reply to: how can we read all members from a PDS
Reply with quote

If You' d tell us what You wnat to achieve after having read ..
the member list???
the member themselves???

the suggestions might be more helpful

the odd string in the signature is the standard html representation of undisplayable cars in the browser ( for the language chosen )
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Read of TDQ fails in LENGERR Tracy Hansen CICS 10 Wed Apr 05, 2017 12:10 am
No new posts Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm
No new posts Multi row fetch - "for read only... Nileshkul DB2 3 Sun Aug 14, 2016 12:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us