Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 10375
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 how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us