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: 992
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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