I'm trying to convert CLIIST to REXX and CLIST has symbolic substitution. I've used this before in NCL but it's a long time ago.

Can anybody tell me what this does and translate to REXX? I'm guessing I need to use interpret or value()!

SET VARNX = &&VARN&GLCV
IF (&VARNX = &SYMBOL) THEN DO
  SET VARFND = 1
  SET VARVX  = &&VARV&GLCV
  SET SYMBOL = &STR(&VARVX)
END

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to