| Author |
Message |
satishstar
New User
Joined: 14 Mar 2005 Posts: 18
|
|
|
|
Hi,
/*REXX*/
SAY 'ENTER A DATA SET NAME'
PARSE UPPER PULL DSNAME
SAY 'DATASET NAME:'DSNAME
"LISTDS '"DSNAME"' MEMBERS"
RETURN
END
Using the above code i got all the members of PDS to the TSO screen,but my requirement is that i want to have all the members of the PDS written into a PS line by line like below :-
--MEMBERS--
ADD
COMS
LINESPGM
MEMBERS
PANEL2
PASS
REXXPGM
REXXREPL
RPT805TS
RPT805TZ
SATGUDTS
SATSHGUD
SCREEN1
SUBROUT
TRACE
Plz let me know if any.
Thx,
satish |
|
| Back to top |
|
 |
References
|
Posted: Wed Apr 23, 2008 3:49 pm Post subject: Re: How get all the members of a PDS into a PS..... |
 |
|
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 1845 Location: italy
|
|
|
|
is this some kind of homework
suddemly there is a flurr of posts on the same issue, without any apparent business justification
after You have got the member names in a dataset what are You going to do with them |
|
| Back to top |
|
 |
satishstar
New User
Joined: 14 Mar 2005 Posts: 18
|
|
|
|
This is for a business purpose where i want to read each and every member from the PS with all the members and prepare a report with the no.of lines in the PDS(production libraires for different ones) and get the total no.of lines for migration project.
Thx,
satish |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 1845 Location: italy
|
|
|
|
why don' t You loak at the proper ISPF functions for it
LM.... LMM.... family |
|
| Back to top |
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 903 Location: germany
|
|
|
|
| wow, we laid 9000 lines of code! |
|
| Back to top |
|
 |
vch
New User
Joined: 01 Feb 2008 Posts: 16 Location: chennai
|
|
|
|
| Use OUTRAP command in rexx. Allocate a PS data set in rexx and move OUTRAP data to PS file finally Alloc write command to write into PS file |
|
| Back to top |
|
 |
ParagChouguley
Active User
Joined: 03 Feb 2007 Posts: 122 Location: PUNE(INDIA)
|
|
|
|
| Quote: |
why don' t You loak at the proper ISPF functions for it
LM.... LMM.... family
|
where do I get the list of these functions ? |
|
| Back to top |
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 2921 Location: Charlotte,NC USA
|
|
| Back to top |
|
 |
ParagChouguley
Active User
Joined: 03 Feb 2007 Posts: 122 Location: PUNE(INDIA)
|
|
|
|
Thanks for the links !!!
--Parag |
|
| Back to top |
|
 |
|
|