x.=default
  ................................................ REXXTRY.CMD on OS/2
ctl='07'X
  ................................................ REXXTRY.CMD on OS/2
x.ctl=C0
  ................................................ REXXTRY.CMD on OS/2
call SysDumpVariables
Name=SIGLRX2, Value='94'
Name=TEMPRX, Value=' REXXTRY.CMD on OS/2'
Name=HELPRX, Value='      Or '?' for online REXX help.'
Name=FOREVERRX, Value='4'
Name=X., Value='C0'
Name=SYSRX, Value='OS/2'
Name=CTL, Value=''
Name=SAVE, Value=''
Name=ARGRX, Value=''
Name=SOURCE, Value='OS/2 COMMAND G:\OS2\REXXTRY.CMD'
Name=RC, Value='X'
Name=VERSION, Value='OBJREXX 6.00 18 May 1999'
Name=INPUTRX, Value='call SysDumpVariables'
Name=TRACE, Value='Off'
Name=REMINDRX, Value='Enter 'exit' to end.'
Name=SIGL, Value='94'
Name=CURRENT, Value='call SysDumpVariables'
Name=RESULT, Value='RESULT'
Name=PREV, Value='x.ctl=C0'
Name=BORDRX, Value='................................................ REXXTRY.CMD
 on OS/2'
Name=POSRX, Value='49'
Name=PROMPTRX, Value=''
Name=PROCRX, Value='REXXTRY.CMD'
  ................................................ REXXTRY.CMD on OS/2



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Gilmartin [[email protected]]
Sent: Wednesday, February 16, 2022 10:51 PM
To: [email protected]
Subject: Re: Rexx routine to dump all variables when debugging?

On Wed, 16 Feb 2022 21:36:48 +0000, Seymour J Metz wrote:

X. = "Preset"
DROP X.42
 Null = ''
 X.Null = "Empty!"

call SysDumpVariables
Name=X., Value='Empty!'
Name=FOO, Value='123,456.78'
    ...

So it doesn't tell you that X.41 is defined but X.42 is undefined.  Bummer.

How does it report tails containing nondisplayable characters?

--
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to