Can I use Include Member in sortin of ICEMAN



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Can I use Include Member in sortin of ICEMAN

Postby MFSlearner » 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.
MFSlearner
 
Posts: 4
Joined: Wed Nov 17, 2010 8:09 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can I use Include Member in sortin of ICEMAN

Postby steve-myers » Wed Nov 17, 2010 11:11 pm

The DCB attributes are taken from the //SORTIN DD DUMMY statement, which are missing, not from the first DD statement in IN.DATASET(CONCATDD).
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Can I use Include Member in sortin of ICEMAN

Postby MFSlearner » Wed Nov 17, 2010 11:26 pm

that sounds correct reason, thanks.
MFSlearner
 
Posts: 4
Joined: Wed Nov 17, 2010 8:09 pm
Has thanked: 0 time
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post