Hello, Thanks for reply. JCL mentioned in my previous email for creating GDG
//DEFGDG JOB 1130,'TEST', // MSGCLASS=T,NOTIFY=&SYSUID,REGION=4096K //BUILD EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * DEFINE GDG (NAME(TEST.TEST.TEMP) - SCRATCH - NOEMPTY - LIM(7)) /* //STEP1 EXEC PGM=IEFBR14 //SYSPRINT DD SYSOUT=* //SYSUT2 DD DSN=TEST.TEST.TEMP(+1), // DISP=(NEW,CATLG,DELETE),DCB=(LRECL=80,RECFM=VB,BLKSIZE=800), // SPACE=(TRK,(2,20),RLSE),UNIT=3390 //SYSIN DD DUMMY /* produces below GDG dataset. TEST.TEST.TEMP TEST.TEST.TEMP.G0001V00 But, issue comes when I try to copy this GDG into PS file using below JCL. //SOLTSSO JOB (1130),MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID ,TYP //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //INDD DD DSN=TEST.TEST.TEMP(+1),UNIT=3390, // VOL=SER=TSO020 //OUTDD DD DSN=TEST.TEST.TEMP,UNIT=3390, // VOL=SER=TSO020 //SYSIN DD * REPRO - INFILE(INDD) - OUTFILE(OUTDD) /* Both of these above job produce same error is IEF286I SOLTSSO STEP1 SORTIN - DISP FIELD INCOMPATIBLE WITH DSNAME IEF272I SOLTSSO STEP1 - STEP WAS NOT EXECUTED. Please correct me, where I am wrong in this whole process and not able to find reason of this copy failure. On 01-May-2017 8:05 AM, "Edward Finnell" < 0000000248cce9f3-dmarc-requ...@listserv.ua.edu> wrote: JCL 101. It's telling you the DISP parameter doesn't match what you're asking it to do. Default is (NEW,CATLG,DELETE). In a message dated 4/30/2017 11:47:33 P.M. Central Daylight Time, venkatkulkarn...@gmail.com writes: Please correct me, where I am wrong in this whole proess. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN