Posted: Mon Sep 05, 2011 7:29 am Post subject: DFSORT - return codes
Hello,
I am converting some Fileaid jobs to DFsort. Currently, if a input file is empty in Fileaid, we get a return code of 8. This is the same with File Manager, it has been configured to give a return code of 8. When I tested DFSORT with an empty file, it gave a return code of 0, so I used the keyword NULLOFL=RC4 to give it something other than 0. I wonder why we can't use NULLOFL=RC8 so that we can bring it in line with the other tools ? (it only seems to be able to use 0,4 or 16). We can't globally change dfsort to generate a RC of 8 (if its possible) because we have many hundred of existing jobs running and I don't want to affect them.
Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
Posted: Mon Sep 05, 2011 9:52 am Post subject:
JediKnight,
With PTF UK90025 for z/OS DFSORT V1R10 and PTF UK90026 for z/OS DFSORT V1R12(Oct, 2010), DFSORT ICETOOL's COUNT operator now allows you to use a new RC8 option to set RC=8 (instead of RC=12) or RC=0 based on the count of records in a data set.
If your shop does not have the PTF H then ask your System Programmer to install PTF UK90025 for z/OS DFSORT V1R10 or PTF UK90026 for z/OS DFSORT V1R12 (they are free) _________________ Kolusu
www.linkedin.com/in/kolusu
OK thanks, so I think you are saying that I need a new JCL step to generate the RC8. This will come before my existing JCL step which now looks like this....
OPTION COPY,
INCLUDE COND=(1,4,CH,EQ,X'00000000')
OUTFIL FNAMES=DD01O
Strange why I can't add the command EMPTY RC8 to the same step, must be some obvious reason why. Regards.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Sep 06, 2011 1:15 pm Post subject:
We actually just gave another customer a Usermod to set RC=8 for NULLOUT and NULLOFL to help them migrate from a competitive product. Perhaps it was for your shop? If not and you are interested in the usermod, have your System Program contact the DFSORT hotline (dfsort@us.ibm.com) and ask about it. _________________ 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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum