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
 
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: 998
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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