These are the steps I've always used to gather the output from a LISTCAT:
X = OUTTRAP('@DA.')
"LISTC ENT("||@DSN||") ALL"
X = OUTTRAP('OFF')
I always use the @ character to mark my variables.
@DA. is an array & @DSN holds the file name entered when the REXX is
invoked. Once the output is trapped into @DA, I queue it up for
processing.
In this case, I write it out to a dataset which I then open in Edit.
It's pretty straightforward but if anyone wants the whole REXX, let me
know & I'll send it
ddk
This e-mail message and all attachments transmitted with it may
contain legally privileged and/or confidential information intended
solely for the use of the addressee(s). If the reader of this
message is not the intended recipient, you are hereby notified that
any reading, dissemination, distribution, copying, forwarding or
other use of this message or its attachments is strictly
prohibited. If you have received this message in error, please
notify the sender immediately and delete this message and all
copies and backups thereof. Thank you.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN