Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Difference between ILBOABNO and ILBOABN0

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ElHachu

New User


Joined: 12 Mar 2010
Posts: 9
Location: Madrid

PostPosted: Fri Mar 12, 2010 3:01 pm    Post subject: Difference between ILBOABNO and ILBOABN0
Reply with quote

Hi everyone!

I am working on migrating an application and I am replacing ILBOABN0 by CEE3ABD routine. The problem is that I found ILBOABNO calls and do not know which is the difference with ILBOABN0. I asked colleagues and searched online, but I have not been able to find a clear explanation. Thank you very much for your time. Regards.
Back to top
View user's profile Send private message

Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Fri Mar 12, 2010 5:16 pm    Post subject:
Reply with quote

The manual references I have access to all mention ILBOABN0 (trailing zero). Some programmers may have misspelled the call as 'ILBOABNO' and might have got missing external reference for that during link editing.

You could check linkage editor output for the old modules to see if references to ILBOABNO actually are resolved.

In any case, the programmer gets the desired action from the call: His module abends. Maybe not by execution of the called module, but by calling an unresolved module reference.
Back to top
View user's profile Send private message
ElHachu

New User


Joined: 12 Mar 2010
Posts: 9
Location: Madrid

PostPosted: Fri Mar 12, 2010 6:01 pm    Post subject:
Reply with quote

Thank you Kjeld.

After asking everyone, I tested what happened if I called ILBOABNO and the result was the abend, but I got a message telling the module was not found and that's why I was a bit bewildered, so I decided to ask here...
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Mar 13, 2010 4:53 am    Post subject:
Reply with quote

Hi ElHachu,

What was the Abend code? S806?
Back to top
View user's profile Send private message
manikawnth

New User


Joined: 07 Feb 2007
Posts: 61
Location: Mumbai

PostPosted: Thu Mar 18, 2010 1:54 pm    Post subject: @Elhachu
Reply with quote

It is ILBOABN0 (last char zero).
It is an utility program to force an Abend in COBOL.
I guess it should throw U0749 Abend.

I guess in ur application programs after the code is compiled, some one might have overridden the source code with ILBOABNO instead of ILBOABN0.

Thanks,
Manikanth
P.S: Do I make sense or Am I being silly in my thought?
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Mar 18, 2010 2:54 pm    Post subject:
Reply with quote

Manikanth,
There would be no need to zap the compiled code with a new reference, if the programmer wrote ILBOABNO with capital O, that module would compile successfully. The linkage edit would warn that the entry point would still have an unsolved reference, but depending on procedures used for producing the loadmodule, you could end up having a program with an unsolved reference.

I think there will be an attempt to fetch the module dynamically during runtime also, before giving up.
Back to top
View user's profile Send private message
manikawnth

New User


Joined: 07 Feb 2007
Posts: 61
Location: Mumbai

PostPosted: Thu Mar 18, 2010 3:30 pm    Post subject: @Kjeld
Reply with quote

You are absolutely right boss.
But i am just analysing the intention of the programmer for writing it as ILBOABNO, as I dint hear abt it at any time.

And yes the result would be abend in the both the cases of ILBOABN0 and ILBOABNO. One is designed for abend and the other is not designed, so abend.
icon_smile.gif

I would like to know wat abends u encountered while using ILBOABN0 (when u call it without populating abend code) and ILBOABNO?

Thanks,
Manikanth
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Mar 18, 2010 3:50 pm    Post subject:
Reply with quote

The possibility that the programmer misread his reference for which module name to use is evident. And at least some 3270 terminal fonts didn't help in spotting the difference between O and 0.

The OP hasn't revealed what abend code a call to ILBOABNO would give in his installation. The default abend code for ILBOABN0 can be looked up in the manual...
Back to top
View user's profile Send private message
ElHachu

New User


Joined: 12 Mar 2010
Posts: 9
Location: Madrid

PostPosted: Sat Mar 20, 2010 5:22 pm    Post subject: Reply to: Difference between ILBOABNO and ILBOABN0
Reply with quote

Hi all!

mmwife, now I am on holidays, but I think the abend I got when executed ILBOABNO (capital O) was S806 (module not found).

Like Kjeld said, no problem was found when compiling, the program has been running for years... I don't know the programmer intention because I never had heard about ILBOABNO. I have people working with me with 15 years of experience and they haven't heard about it at all.

I found this IBM handbook
http://www.redbooks.ibm.com/redbooks/pdfs/sg242044.pdf
You can find ILBOABNO (capital O) in the text, but only a poor reference. I thought it could be an obsolete routine, maybe a mistake (unprobable, but I think that's it)..
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Mar 21, 2010 8:47 am    Post subject:
Reply with quote

Hi ElHachu,

I think using ILBOABNO instead of ILBOABN0 was a mistake too. Fortunately it produced the S806 abend and terminated the pgm as required (almost icon_smile.gif ).

My guess is that the pgm also issued a DISPLAY that explained the reason for the abend and the ops/tech guys were able to puzzle it out. Or the CALLing code was never issued until your testing uncovered it.

If your site keeps prod problem logs you may find something there, or you might ask around in ops/tech.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between -180 and -181 with... deepak_shrivastava DB2 4 Wed Jan 06, 2016 10:00 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us