View previous topic :: View next topic
|
Author |
Message |
Mahendran3784
New User
Joined: 04 May 2007 Posts: 20 Location: INDIA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
What' s wrong in checking for a return code of 8 instead of 0 |
|
Back to top |
|
|
|