>> Basically, I wanted to raise RC=4 when the output file from the SORT is 
>> empty.


Cameron,

NULLOFL should work.  Can you run this job?

//STEP0100 EXEC PGM=ICETOOL
//TOOLMSG  DD SYSOUT=*
//DFSMSG   DD SYSOUT=*
//LOG31IN  DD *
//LOG31OUT DD SYSOUT=*
//TOOLIN   DD *
   SELECT FROM(LOG31IN)  -
          TO(LOG31OUT)   -
          ON(001,49,CH)  -
          LAST           -
          USING(LG31)

/*
//LG31CNTL DD *
  OUTFIL FNAMES=LOG31OUT,NULLOFL=RC4
/*


Does that give you RC=4 ?

Thanks,
Kolusu
DFSORT Development
IBM Corporation



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to