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

How to change the RC in a step executing PGM=FILEAID?


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahendran3784

New User


Joined: 04 May 2007
Posts: 20
Location: INDIA

PostPosted: Sat Nov 03, 2007 9:51 pm
Reply with quote

Hi all,

In my JCL, i have a step as shown below:
//step exec pgm=FILEAID

This steps give RC=8 if the input file is empty. Instead i want set RC=0.

Thanks in Advance,
Mahendran
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sun Nov 04, 2007 9:54 am
Reply with quote

Hello,

I doubt that FileAid will be changed to do what you want. . .

You need to plan your jcl around how that product works or change your application so that the file is never empty. Many applications have a record that is tested for in the code that signifies "no data".
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Sun Nov 04, 2007 5:39 pm
Reply with quote

What' s wrong in checking for a return code of 8 instead of 0
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts SAS Step execution statistics All Other Mainframe Topics 0
No new posts Executing DB2 SQL store procedure via... DB2 1
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Search two or more word with FILEAID Compuware & Other Tools 17
Search our Forums:


Back to Top