Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Set the return code based on the records present in input

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sandeep1dimri

New User


Joined: 30 Oct 2006
Posts: 76

PostPosted: Thu Jun 21, 2007 11:55 am    Post subject: Set the return code based on the records present in input
Reply with quote

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
View user's profile Send private message

sandeep1dimri

New User


Joined: 30 Oct 2006
Posts: 76

PostPosted: Thu Jun 21, 2007 11:58 am    Post subject:
Reply with quote

Can i set return code based on TALLY option of file aid?

Please suggest on same.
Back to top
View user's profile Send private message
tosaurabh20

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Thu Jun 21, 2007 4:13 pm    Post subject:
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Jun 21, 2007 4:20 pm    Post subject:
Reply with quote

sandeep,

This might help you -

http://ibmmainframes.com/viewtopic.php?t=22036&sid=c72b1a78458b0f7006c922ac2cec6b5d
Back to top
View user's profile Send private message
sandeep1dimri

New User


Joined: 30 Oct 2006
Posts: 76

PostPosted: Thu Jun 21, 2007 7:46 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8631
Location: Back in jolly old England

PostPosted: Thu Jun 21, 2007 10:28 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us