All the macros used are in 'SYS1.MACLIB' so the standard catalogued procedure ASMACL should be all that is required. The link edit step must specify PARM='AC=1' or provide a SETCODE AC(1) tatement as input to the link edit in order to mark the MVSCPCMD as authorized. The output from the link edit (binder) step is in the data set pointed to by the SYSLMOD DD card. This must be an authorized library. If it is not an authorized library, then the system programmer can copy it into one. Any of the libraries in LINKLIST can be used but the system programmer should choose some library reserved for customer programs.
Here is sample JCL that was used to link the program into a user library.
//NNNNNNN JOB (1234,567890),'AAAA',MSGLEVEL=(1,1),NOTIFY=NNNNNNN,
//MVSCPCMD EXEC ASMACL
//C.SYSIN DD DSN=NNNNNNN.TEST.ASM(MVSCPCMD),DISP=SHR
//L.SYSLMOD DD DSN=NNNNNNN.TEST.LOAD,DISP=SHR
//L.SYSIN DD *
To execute MVSCPCMD, in batch z/OS JCL enter:
//STEPNAME EXEC PGM=MVSCPCMD,PARM='some CP command here'