1. Link the object module with the LE and C runtime libraries together to create the load module. Use the following JCL. Change the JOB card to reflect your id and system information. When typing this JCL, ensure that upper/lower case indications are followed. Replace ‘hlq’ with your high-level qualifier and add at least one space before the INCLUDE PRELINK and NAME CMT(R) lines. //hlqLK JOB (account),'LINK CMT TOOL',MSGLEVEL=(1,1),CLASS=A, // MSGCLASS=T,REGION=5120K,NOTIFY=hlq //* //LKED EXEC PGM=IEWL,REGION=5M, // PARM='LIST,XREF,RENT,REFR' //SYSLIB DD DSN=CEE.SCEELKED,DISP=SHR // DD DSN=CBC.SCLBSID,DISP=(SHR,PASS) //PRELINK DD DSN=hlq.CMT.OBJ,DISP=SHR //SYSLMOD DD DSN=hlq.CMT.LINKLIB,DISP=(,CATLG), // UNIT=SYSALLDA,VOL=SER=nnnnnn, // DCB=(RECFM=U,BLKSIZE=32760) //SYSPRINT DD SYSOUT=* //SYSLIN DD * INCLUDE PRELINK NAME CMT(R) /* 2. Edit the sample input file you downloaded to reflect your color mapping needs. 3. Create a file to hold the color mapping table. This file must have a record type of VBM and the maximum cannot exceed 32756. This example shows the output that will reside in a member of a PDS (hlq.CMT.AFPDS(M1COLOR)). 4. Execute the program. Change the JOB card to reflect your id and system information. Since the original code was written in AIX, lower and upper case characters are very important. The same is true for the PARM statement. //hlqR JOB (account),'hlq CMT RUN',NOTIFY=hlq, // CLASS=A,MSGCLASS=T,MSGLEVEL=(1,1),TIME=(,30), // REGION=5M //* //CMT EXEC PGM=CMT,REGION=4M, // PARM='/-i //DD:STDIN -o //DD:STDOUT' //STEPLIB DD DSN=hlq.CMT.LINKLIB,DISP=SHR //STDOUT DD DSN=hlq.CMT.AFPDS(M1COLOR),DISP=SHR //SYSUDUMP DD SYSOUT=* //STDIN DD DSN=hlq.CMT.INPUT(CFG),DISP=SHR // 5. In the PSF start-up procedure, specify the output dataset in a DD statement, such as: //COLORMAP DD DSN=hlq.CMT.AFPDS,DISP=SHR 6. In the PSF start-up procedure, change the OBJCONDD parameter of the PRINTDEV statement to point to the previous DD statement, such as: //PRT10E PRINTDEV OBJCONDD=*.COLORMAP 7. For more detailed instructions for installing the Color Mapping Table, see http://www.ibm.com/printers/R5PSC.NSF/Web/m1dfault.