Loading...
Select Version
&pagelevel(4)&pagelevel
The output of the SHOW command is often redirected with the EXECUTE-CMD command (or also ba assigning an S variable stream) into a complex variable so that the variables then created can be evaluated in a FOR loop. You should note, however, that for many SHOW commands the caller can affect the amount of information output, and therefore also the number of variables created, via the appropriate operands (e.g. INFORMATION=... or SELECT=...). The creation of variables while avoiding unneeded variables is preferred to the otherwise necessary IF-THEN-ELSE construction in the FOR loop.