Assembling multiple versions of AMDSADMP

You can assemble multiple versions of AMDSADMP at the same time, provided that each version specifies a different residence volume. Differentiate between versions by coding a unique symbol at thebeginning of each macro. AMDSADMP uses the symbol you indicate to create unique stage-two job names. The output from a multiple assembly is a single listing and a single object deck, which can be broken into separate jobs if desired. Use the JCL shown in Figure 1 for coding multiple versions of AMDSADMP.

Figure 1. Example: Assembling multiple versions of AMDSADMP Macro
//MULTISAD JOB  MSGLEVEL=(1,1)
//ASM      EXEC PGM=ASMA90,PARM='DECK,NOOBJ'
//SYSLIB   DD   DSN=SYS1.MACLIB,DISP=SHR
//         DD   DSN=SYS1.MODGEN,DISP=SHR
//SYSUT1   DD   UNIT=SYSDA,SPACE=(1700,(400,50))
//SYSPRINT DD   SYSOUT=A
//SYSPUNCH DD   SYSOUT=B
//SYSIN    DD   *
TAPE       AMDSADMP IPL=T3400,VOLSER=SADMP1
DASD1      AMDSADMP VOLSER=SADMP2,MINASID=PHYSIN
DASD2      AMDSADMP VOLSER=SADMP3
           END
/*