View previous topic :: View next topic |
Author |
Message |
kanitha-mvs Beginner
Joined: 17 May 2006 Posts: 26 Topics: 17
|
Posted: Wed Jan 20, 2010 4:19 am Post subject: ICEMAN with nullout parameter using outfil |
|
|
Hi,
I have a Jcl that separates a dataset into two. Iam using outfil to populate the two files. Now is it possible to check the empty condition of one file alone?
Eg:
//STEP002 EXEC PGM=ICEMAN
//SORTIN DD DSN=input.ds,DISP=SHR
//SORTOUT DD DSN=out1.ds,disp=(new,catlg,delete)
//SORTOF01 DD DSN=out2.ds,DISP=(NEW,CATLG,DELETE)
PARM=('NULLOUT=RC4') will check for the empty condition of SORTOUT dataset. Is it possible to check empty condition of SORTOF01 DD in this same step itself? Please advise. Thanks. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Jan 20, 2010 12:28 pm Post subject: |
|
|
kanitha-mvs,
Couple of Q's
1. Is sortout and sortof01 are the same copy of data? or different?
2. How are you going to distinguish which file set the RC of 4?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Wed Jan 20, 2010 12:32 pm Post subject: |
|
|
This might help:
The NULLOUT=RC4 parameter applies to the SORTOUT data set (NOT the OUTFIL data set).
The NULLOFL=RC4 parameter on an OUTFIL statement applies to the OUTFIL data set (I assume that's SORTOF01 in this case). _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|
Back to top |
|
 |
|
|