Creating a Resource

Several of the tool operations that can be defined in the AWM model lead to the creation of a resource (COPY, MOVE, INSERT). In this case, the output parameters must be modeled so that all the properties for the identification of the resource are included.

REXX example:

/* Copy a PDS member */
Parse Arg pds member_old member_new . 
copyrc = COPY_MEMBER(pds member_old member_new) 
outparm = pds member_new 
Exit copyrc outparm