Example 3

Operation: Name is not fully qualified, EXEC or CLIST keyword is not specified.

Result:
  • Fully-qualified name is prefixed by the PREFIX, and is suffixed by "clist", unless the non-fully-qualified name already has the appropriate suffix.
  • Procedure is run as a REXX exec if the REXX string is found within a comment in line 1 of the procedure. Otherwise, it is run as a CLIST.
ex tools(mem3)
runs "mem3" as REXX exec or CLIST depending on what is found in line 1 of procedure "mem3". Whether "mem3" is run as a REXX exec or a CLIST, it is read from: ‘slk27.tools.clist(mem3)’.
ex tools.clist(mem3)
runs "mem3" as REXX exec or CLIST depending on what is found in line 1 of procedure "mem3". Whether "mem3" is run as a REXX exec or a CLIST, it is read from: ‘slk27.tools.clist(mem3)’.

No need to add the "clist" suffix because the name already has the appropriate suffix.