Overriding an authorization code - SETCODE statement

You can override the authorization code for an output load module with the SETCODE control statement. The SETCODE statement establishes authorization for a specific output load module. You must place the SETCODE statement before the NAME statement for the load module. The format of the SETCODE statement is:
SETCODE   AC(1)

If you assign more than one SETCODE statement to a given output load module, the system uses the last SETCODE statement coded.

Figure 1 shows how the SETCODE statement assigns an authorization code to the output load module MOD1:
Figure 1. Assigning Authorization via SETCODE
  //LKED      EXEC  PGM=HEWL
  //SYSPRINT  DD    SYSOUT=A
  //SYSUT1    DD    UNIT=SYSDA,SPACE=(TRK,(10,5))
  //SYSLMOD   DD    DSNAME=SYS1.LINKLIB,DISP=OLD
  //SYSLIN    DD    DSNAME=&&LOADSET,DISP=(OLD,PASS),
  //                UNIT=SYSDA
  //          DD    *
    SETCODE         AC(1)
    NAME            MOD1(R)
  /*