Go to LeighWeb Home Page            

Back To LeighWeb Mainframe Utilities Page

View the module associated with this documentation

 The CPY edit macro allows the user to place their cursor on a line in a
 COBOL/COBOL2 program which contains a "COPY xxxxxxxx" statement.  CPY then
 parses the line to determine the name of the COBOL COPYBOOK.  It searches
 through the standard copy libraries to find the first occurance of this member.
 If it finds this member, it attempts to edit it, if it cannot edit it, it
 attempts to browse it.
 The user can also use this command as a TSO command.  To use type: TSO
 CPY MEM(xxxxxxxx) statement.  It will then function the same as it does
 with the edit macro.
 You can override the standard concatenation by typing TSO CPY
 MEM(xxxxxxxx) DSN(uuunn.xxxx.copylib) and the search will start with
 your Library.  To overide the standard concatenation using the edit
 macro the command is CPY uuunn.xxxx.copylib.