Can I use Include Member in sortin of ICEMAN
Posted: Wed Nov 17, 2010 10:08 pm
Hi,
One of my requirement is to copy all the datasets present in another dataset to a single PS dataset. I tried below JCL,,but it's failing. I checked 'DFSORT: Getting Started' , I don't see 'Include member' option. I JCL i was using was below:
//MYLIB JCLLIB ORDER=&SYSUID..IN.DATASET
//STEP0010 EXEC PGM=ICEMAN,COND=(1,LT)
//SYSOUT DD SYSOUT=*
//SORTIN DD DUMMY
// INCLUDE MEMBER=CONCATDD
//SORTOUT DD DSN=&SYSUID.TEST.DATASET1,
// DISP=(,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(2,1)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
//SYSIN DD *
SORT FIELDS=COPY
/*
//*
&sysuid.IN.DATASET(CONCATDD) :
// DD DSN=USERID.TEST.user1,DISP=SHR
// DD DSN=USERID.TEST.user2,DISP=SHR
Error message:
ICE043A 3 INVALID DATA SET ATTRIBUTES: SORTIN RECFM - REASON CODE IS 10
RecFM of both inputs & outputs were matching.. But not sure,,why above error is coming. Usage of Inlcude member is correct in ICEMAN? Appreciate the help.
One of my requirement is to copy all the datasets present in another dataset to a single PS dataset. I tried below JCL,,but it's failing. I checked 'DFSORT: Getting Started' , I don't see 'Include member' option. I JCL i was using was below:
//MYLIB JCLLIB ORDER=&SYSUID..IN.DATASET
//STEP0010 EXEC PGM=ICEMAN,COND=(1,LT)
//SYSOUT DD SYSOUT=*
//SORTIN DD DUMMY
// INCLUDE MEMBER=CONCATDD
//SORTOUT DD DSN=&SYSUID.TEST.DATASET1,
// DISP=(,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(2,1)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000)
//SYSIN DD *
SORT FIELDS=COPY
/*
//*
&sysuid.IN.DATASET(CONCATDD) :
// DD DSN=USERID.TEST.user1,DISP=SHR
// DD DSN=USERID.TEST.user2,DISP=SHR
Error message:
ICE043A 3 INVALID DATA SET ATTRIBUTES: SORTIN RECFM - REASON CODE IS 10
RecFM of both inputs & outputs were matching.. But not sure,,why above error is coming. Usage of Inlcude member is correct in ICEMAN? Appreciate the help.