Set Return code higher than 4095



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Re: Set Return code higher than 4095

Postby BillyBoyo » Fri Dec 18, 2015 2:45 pm

Change the PGM= to IKJEFT1A or IKJEFT1B. Get some agreement at your site about which to do (assuming you've already asked around and no-one is doing this already).
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Re: Set Return code higher than 4095

 

Re: Set Return code higher than 4095

Postby pranav283 » Fri Dec 18, 2015 3:37 pm

Hi,

I tried using both IKJEFT1A and IKJEFT1B and to my amazement, I got what I wanted to see. The job terminated with a max cc of 104 only !

Thanks a lot @UserName and @BillyBoyo !

But how did you know/figured out that it has something to do with TMPs ?
pranav283
 
Posts: 35
Joined: Sat Aug 30, 2014 3:52 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Set Return code higher than 4095

Postby BillyBoyo » Fri Dec 18, 2015 4:27 pm

TMP is a new TLA on me.

When I read your question rather than just skimmed it I noticed the DB2 part. COBOL DB2 you're going to be running under TSO. TSO-in-batch (IKJEFT01) itself is "normalising" non-zero return-codes. The two alternate entry-points, IKJEFT1A and B, don't normalise the return-code. So seeing your actual JCL makes the problem simple. Actually, reading the question more closely helped a lot as well :-)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Set Return code higher than 4095

Postby pranav283 » Fri Dec 18, 2015 4:55 pm

TMPs refers to nothing but Terminal Monitor Programs, which I believe you have certainly figured out by now ! ;)

And I am completely new to the fact that IKJEFT01 program can too handle/normalize non-zero return codes, rather IKJEFT1A/B can not.
Can you please share more info or any attachment/link to which you can direct me to.
Most importantly, Thanks a lot for helping me with the issue.

Pranav
pranav283
 
Posts: 35
Joined: Sat Aug 30, 2014 3:52 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Set Return code higher than 4095

Postby NicC » Sat Dec 19, 2015 5:47 pm

There are other references within this very forum and all over the internet and, especially, in the IBM documentation. Why can you not search for it youself and, in doing so, enhance your knowledge and place bookmarks for future reference?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Previous

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post