MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EIBCALEN ON SIZE ERROR with COBOL V6

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
rsantosh
Beginner


Joined: 20 Dec 2014
Posts: 38
Topics: 9

PostPosted: Wed Nov 18, 2020 8:39 am    Post subject: EIBCALEN ON SIZE ERROR with COBOL V6 Reply with quote

Hello,

COBOl V6 has introduced a new compiler option NUMCHECK(BIN) which is giving ON SIZE ERROR for EIBCALEN because it is defined as PIC S9(4) COMP.

Code:
 IF EIBCALEN NOT = LENGTH DFHCOMMAREA


Where DFHCOMMAREA is 32120 bytes.

EIBCALEN is CICS reserved word definition so we cant change the length.

Any suggestion other than overriding the default NUMCHECK option during compilation?

Regards,
Santosh
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Nov 18, 2020 12:47 pm    Post subject: Reply with quote

rsantosh,

You can get around the issue if you had TRUNC(BIN) compiler option, but then COBOL 6.2 had supporting apar(PH11667) to override that too. here is the link to that

https://www.ibm.com/support/pages/apar/PH11667

So if your shop already had this ptf installed and since you cannot change EIBCALEN defintion, you are only left with overriding the NUMCHECK option. You need

Code:

NUMCHECK(BIN(NOTRUNCBIN))


Check this link which explains in detail about NUMCHECK option.

https://www.ibm.com/support/knowledgecenter/SS6SG3_6.2.0/pg/ui/up1051.html
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
rsantosh
Beginner


Joined: 20 Dec 2014
Posts: 38
Topics: 9

PostPosted: Wed Nov 18, 2020 11:39 pm    Post subject: Reply with quote

Hi Kolusu,

Thank you. In our shop default is TRUNC(OPT). So the only option we are left with is overriding the NUMCHECK.

Regards,
Santosh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group