> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of John McKown
> Sent: Thursday, June 13, 2013 3:36 PM
> To: [email protected]
> Subject: Thinking about utility for REXX: stem variable to JSON
> encoding.

<snip>

> STEM.0=3
> STEM.1=A
> STEM.2=B
> STEM.3=C
> A="A" /* JUST TO BE SURE */
> STEM.A='BUBBA'
> 
> Even worse, as above, but also
> 
> STEM.A.0=1
> STEM.A.1="FETT"

Be aware that using the name stem.a is vulnerable to eventual usage of the 
variable "a".

I always use the format "stem.0a" as "0a" is not a valid variable name.  Which 
protects "stem.0a". 



Regards
Thomas Berg
____________________________________________________________________
Thomas Berg   Specialist   z/OS\RQM\IT Delivery   SWEDBANK AB (Publ)


 

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

Reply via email to