Hi,
I've a COBOL program, which at successful execution gives RC=00, is there any way to change it to RC=8. One way I can think of using moving 8 to RETURN-CODE register but I don't want to change the program.
Regards,
How to change the Return code?
-
- Registered Member
- Posts: 26
- Joined: Mon Aug 12, 2013 10:42 am
- Robert Sample
- Global Moderator
- Posts: 1895
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: How to change the Return code?
You either change the program or accept the 0 return code. Since return code 0 usually means normal end of program and return code 8 usually means some error occurred, why do you want to change the 0 to 8?
-
- Registered Member
- Posts: 26
- Joined: Mon Aug 12, 2013 10:42 am
Re: How to change the Return code?
Thanks Robert.
The Business maps the RC=08 with some Business condition, RC=00 is already mapped to a condition. This is the reason why I need RC=08.
The Business maps the RC=08 with some Business condition, RC=00 is already mapped to a condition. This is the reason why I need RC=08.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute