View previous topic :: View next topic
|
Author |
Message |
sandeep1dimri
New User
Joined: 30 Oct 2006 Posts: 76
|
|
|
|
Hi
can anyone ples provide info regarding to below requirement.
I want to set the return code of step based on the records present in the inut dataset.
Please suggest some JCL utility to achieve same.
Thanks sandeep |
|
Back to top |
|
|
sandeep1dimri
New User
Joined: 30 Oct 2006 Posts: 76
|
|
|
|
Can i set return code based on TALLY option of file aid?
Please suggest on same. |
|
Back to top |
|
|
tosaurabh20
New User
Joined: 08 Jun 2007 Posts: 26 Location: Noida
|
|
|
|
sandeep1dimri wrote: |
Can i set return code based on TALLY option of file aid?
Please suggest on same. |
Hi Sandeep,
You can use the IDCAMS utility through which you can find out whether the file is having any records in it or it is empty. It will give you the return code of 4 if the file is not empty.
if you specifically wish to find out the numbers of the records in the file then there is some alternate way to do so .
hope it helps.
Thanks
Saurabh |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
Back to top |
|
|
sandeep1dimri
New User
Joined: 30 Oct 2006 Posts: 76
|
|
|
|
Please suggest some other utility i dont wana use ICETOOL in production can some buddy sugest some other utility.
Hi saurrabh can u provide me code details to for IDCAMS
Thanks every budy :-) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
sandeep1dimri wrote: |
Please suggest some other utility i dont wana use ICETOOL in production can some buddy sugest some other utility.
Hi saurrabh can u provide me code details to for IDCAMS
Thanks every budy :-) |
Warning issued -
Sandeep, you have posted over 40 times here, and yet you still need to ask for IDCAMS statements. Please search.
Also - "I dont wana use ICETOOL"
Someone has gone out of their way to be helpful and you reply like that !
|
|
Back to top |
|
|
|