300 likes | 399 Views
Commonly used AMS commands (part 1 of 2) . Commonly used AMS commands (part 2 of 2) . Figure 10-3 The DEFINE CLUSTER command (part 1 of 3) . The DEFINE CLUSTER command (part 2 of 3) . The DEFINE CLUSTER command (part 3 of 3) .
E N D
An example AMS job – Prints a VSAM Dataset in Character Format
REPRO – TO Load KSDS //KC02013A JOB (12345678),'KEN GRENIER',MSGLEVEL=(1,1), // NOTIFY=KC02013,MSGCLASS=A,CLASS=A //FFFPROC JCLLIB ORDER=(KC02013.C12.$H3838.PROCLIB) //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //MYINPUT DD DSN=KC02013.CUSTOMER.DAT,DISP=SHR //SYSIN DD * REPRO INFILE(MYINPUT) - OUTDATASET(KC02013.CUSTOMER.MASTER) - REPLACE
You ACCESS the CLUSTER Name //CUSTISAM DD DSN=KC02013.CUSTOMER.MASTER,DISP=SHR JCL need for access VSAM File