On Mon, 20 Feb 2023, 17:07 Steely.Mark, <steely.m...@ace.aaa.com> wrote:
> Here is a simple REXX for LISTDSI: > > /* A SIMPLE REXX TEST PROGRAM */ > variable = 'data.set.name' > x = LISTDSI(variable) > say x > Be careful. If you meant a fully qualified dataset name, you need to code this. Variable = " 'data.set.name' " (I added blanks around the DS name to distinguish apostrophes from quotation marks.) One other point which confuses beginners to REXX (myself included at one time): Anything that is not recognised as part of the REXX language is assumed to be an expression the evaluation of which is sent to the current host command environment for execution. If not the default of TSO, then ISPEXEC, ISREDIT, DSNREXX, among many others. > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN