Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enhancing 3.4 panel / dslist

Status
Not open for further replies.

kingrexx

Programmer
Jun 25, 2004
1
AT
am new to rexx-programming :)
in general i want to access, search, manipulate DS and members of DS as fast as possible. so i´m searching the web for TSO-enhancing rexx-scripts.

i want to start a 3.4 panel DSLIST with more than one HLQ, e.g. sys1.p* and lmcd* from every command line

eg. TSO rexx-exec-name sys1.p*,lmcd*
(keys => pfx = TSO rexx-exec-name...)

an equal command would be

==> dslist sys1.p* ; append lmcd* ; append ....

according to my TSO 3.9

dslist=

SELECT PGM(ISRDSLST) PARM(DSL &ZPARM) SUSPEND SCRNAME(DSLIST)

parsing the command line to extract the HLQ is not difficult

It is possible to send the select command
TSO ISPEXEC "Select......" with the first HLQ, but how can i send the append command to the dslist-panel?

is there a better way to do this ?

(starting the dslist command in rexx doesn´t work. (?) )

thanks!
 
I think you have to prep the list manually:

Go to Browse(1) or Edit(2). Select the "RefList" pull-down -> 3. List of Personal Data Set Lists. You will have at least one entry called "REFLIST". Select "A" (Save As...) and specify a name on the next panel (let's use "ZORK"). When you return (by PF3) you will have a second entry in the list; select "E" (Edit) and Delete anything that doesn't look like ZORK stuff, Add any extra datasets you want associated with that moniker, etc... You can even use specifications like ZORK.**.CNTL. Save.

Now, from anywhere in ISPF you can command "DSLIST ZORK" and get a customized presentation of those datasets. You've already figured out how to fire this from REXX.


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top