Page 1 of 1

How do I get the name of a variable into a variable?

PostPosted: Mon Feb 11, 2019 9:55 am
by aftermath09
Hi,

Is it possible to get the name of a variable into a variable?

Example:
VAR-1 PIC X(30) VALUE "ANYTHING".
VAR-2 PIC X(30) VALUE SPACES

How can I get "VAR-1" dynamically as value into VAR-2?

Re: How do I get the name of a variable into a variable?

PostPosted: Mon Feb 11, 2019 4:41 pm
by prino
You cannot. Period. Full stop. End of story!