You have several of options.
Use LISTDS as a TSO Command. You can specify it as:
LISTDS âpdsnameâ Member
This will list the data set and the PDS Members. You could then parse the list
to find the member
Second, get the PDS command from the CBT Tape. It will allow you to list a
member or series of members
Third, write a REXX exec to parse a PDS looking for a specific member.
Fourth, If the member is known, you could use LISTC ENT command and then set
the condition code if the Data Set Member was not there.
LISTC ENT(âdsn(mem)â)
If LASTCC > 0 Then MAXCC = 26
Then you could execute subsequent steps based on the RC=26.
Fifth, you could write a batch ISPF application that uses the LM functions to
see if the member exists.
Last, Continue to use IEHLIST by creating a process (REXX, Clist, etc...) that
will build the control cards and submit the job. (I was thinking you could just
drop the VOL= parm and realized that only if the data set resides on the SYSRES
volumes would that work).
Lizette Koehler
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html