I am using the following jcl to copy the flat file to vsam
//RUNJCLAT JOB 'IBMMFS','SHIV',CLASS=G,MSGCLASS=X,MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//DATAIN DD DISP=OLD,DSN=PWSX.R9SSHC6.FLAT1
//SYSIN DD *
DEFINE CLUSTER (NAME (R9SSHC6.DATA.VSAM5)
VOLUMES(WORK02) CYLINDERS(1 2)
RECORDSIZE (31 60) KEYS(11 4) INDEXED)
REPRO INFILE(DATAIN) OUTDATASET(R9SSHC6.DATA.VSAM5) ELIMIT (200)
//
/*
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//DATAIN DD DISP=OLD,DSN=PWSX.R9SSHC6.FLAT1
//SYSIN DD *
DEFINE CLUSTER (NAME (R9SSHC6.DATA.VSAM5)
VOLUMES(WORK02) CYLINDERS(1 2)
RECORDSIZE (31 60) KEYS(11 4) INDEXED)
REPRO INFILE(DATAIN) OUTDATASET(R9SSHC6.DATA.VSAM5) ELIMIT (200)
//
/*
the DATA and INDEX file is created and I am getting maxcc=8 with following error
IDCAMS SYSTEM SERVICES T
DEFINE CLUSTER (NAME (R9SSHC6.DATA.VSAM6)
VOLUMES(WORK02) CYLINDERS(1 2)
RECORDSIZE (31 60) KEYS(11 4) INDEXED)
IDC0508I DATA ALLOCATION STATUS FOR VOLUME WORK02 IS 0
IDC0509I INDEX ALLOCATION STATUS FOR VOLUME WORK02 IS 0
IDC0512I NAME GENERATED-(D) R9SSHC6.DATA.VSAM6.DATA
IDC0512I NAME GENERATED-(I) R9SSHC6.DATA.VSAM6.INDEX
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
REPRO INFILE(DATAIN) OUTDATASET(R9SSHC6.DATA.VSAM6) ELIMIT (200)
IDC3302I ACTION ERROR ON R9SSHC6.DATA.VSAM6
IDC3314I **RECORD OUT OF SEQUENCE - KEY FOLLOWS:
000000 D2C1D2C8 C1D5F3F3 F3F3C4
DEFINE CLUSTER (NAME (R9SSHC6.DATA.VSAM6)
VOLUMES(WORK02) CYLINDERS(1 2)
RECORDSIZE (31 60) KEYS(11 4) INDEXED)
IDC0508I DATA ALLOCATION STATUS FOR VOLUME WORK02 IS 0
IDC0509I INDEX ALLOCATION STATUS FOR VOLUME WORK02 IS 0
IDC0512I NAME GENERATED-(D) R9SSHC6.DATA.VSAM6.DATA
IDC0512I NAME GENERATED-(I) R9SSHC6.DATA.VSAM6.INDEX
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
REPRO INFILE(DATAIN) OUTDATASET(R9SSHC6.DATA.VSAM6) ELIMIT (200)
IDC3302I ACTION ERROR ON R9SSHC6.DATA.VSAM6
IDC3314I **RECORD OUT OF SEQUENCE - KEY FOLLOWS:
000000 D2C1D2C8 C1D5F3F3 F3F3C4