Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how can an empty vsam file gives a return code of 04

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
h4hemanth

New User


Joined: 27 Jun 2008
Posts: 3
Location: chennai

PostPosted: Mon Jun 30, 2008 1:00 pm    Post subject: how can an empty vsam file gives a return code of 04
Reply with quote

hii all
here is my problem

my proc contains a step where that need to process a vsam file in which the file may be empty in some cases and then i'll get a return code of 12.

now i got an idea of passing an empty record to that file when ever the file is empty and for this i need two steps where the first step should give a return code of 04 or less than 08 other than 00 when the file is empty and should give a return code of 00 and second one is to skip the first step if the file is not empty. but i was not able to get a return code of 04 using an empty vsam file and i have searched for that in this forum and got many codes and i tried that but it is not giving the RC 04. can u please look into this and give me the actual code which gives the RC 04

thanks
hemanth
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Jun 30, 2008 3:48 pm    Post subject:
Reply with quote

Check OPTION NULLOUT in DFSORT Application Programming Guide.

Garry.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Jun 30, 2008 3:56 pm    Post subject:
Reply with quote

Look at this previous thread http://www.ibmmainframes.com/viewtopic.php?t=32028
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts EXIT or RETURN cvnlynn CLIST & REXX 16 Wed Jul 19, 2017 2:50 am
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us