IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Jun 30, 2008 3:48 pm
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: 8797
Location: Welsh Wales

PostPosted: Mon Jun 30, 2008 3:56 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top