Previous Topic: ADDRESS Environment Coding

Next Topic: Example: ADDRESS Environment

Example: Function

A sample function that can be used under TSO/E REXX and CA‑GSS is provided in the CAW0JCL(BYSSFUN) data set member. When executed, it takes the following actions:

You can use the following REXX EXEC to check the operation of the BYSSFUN function:

queue 'stack_record_1'
queue 'stack_record_2'
queue 'stack_record_3'
rslt = BYSSFUN('arg_1',,'arg_3')
say 'returned string:' rslt
say '"sample" variable:' sample