View previous topic :: View next topic
|
Author |
Message |
kumar119119
New User
Joined: 31 May 2010 Posts: 25 Location: Pune
|
|
|
|
We pass data from cobol to jcl using return-code register.
suppose if we move 450 to returncode at runtime max returncode will show 450, but
1. if the program succesful maxcc will show 0/4, but when we move this 450 what it will show?
2. and like this cobol to jcl scenario incase of abend will it show 450 or relevant abend code
From
Satish kumar reddy.T
Bangalore. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
kumar119119 wrote: |
1.if the program succesful maxcc will show 0/4, but when we move this 450 what it will show? |
450. If nothing is put in the return code register, it will have a zero, the only way for it to be a 4 is if the program moves a 4 into the register.
Quote: |
2.and like this cobol to jcl scenario incase of abend will it show 450 or relevant abend code |
Depending on what kind of abend (user or system) the RC will be either system generated or user generated. |
|
Back to top |
|
|
kumar119119
New User
Joined: 31 May 2010 Posts: 25 Location: Pune
|
|
|
|
hi folks
thanks a lot cics guy
your information very useful to me |
|
Back to top |
|
|
|