
HELP: External command (Subcommand) handler to update REXX parameters
I would like it to work like PARSE [template], but
since I'm new to REXX I have no clue about how to
pass in a template to the NM_GET_XYZ command handler
so that the Xaa, Ybb,Zcc variables are not evaluated (i.e.
I dont want to pass in NM_GET_XYZ 0 0 0 to my C command
processor).
Thaanks for any help. Bernie.
Quote:
> How do I specify a REXX external command that is passed
> to my C subcommand handler and it updates certain parameters?
> Example
> Xaa = 0
> Ybb = 0
> Zcc = 0
> NM_GET_XYZ {how do I pass Xaa Ybb Zcc so that)
> say Xaa Ybb Zcc
> will produce non zero values like 20 10 5
> I would like to avoid function calls, but the C subcommand
> handler will test for the NM_GET_XYZ tag and when found it
> will be using variables Xaa,Ybb,Zcc and will assign
> values to them that will then need to be returned to REXX.