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
 

 

0c1 with dynamic entry-point call

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

Active User


Joined: 04 Nov 2006
Posts: 109

PostPosted: Thu Oct 15, 2009 11:36 pm    Post subject: 0c1 with dynamic entry-point call
Reply with quote

Hi,

I'm getting a 0c1 abend when calling dynamically a subprogram entry-point.

The problem doesn't occur when I call the same entry-point statically.

I compiled the subprogram with name(alias), but it didn't solve the problem.

I wonder if someone could help. The technical staff here couldn't.

Thanks.
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Oct 16, 2009 12:01 am    Post subject: Reply to: 0c1 with dynamic entry-point call
Reply with quote

By chance, are you seeing an S806 in SYSLOG? (Program Not Found).

Are you concatenating/pointing-to the proper load libraries during execution and/or the load library where the sub-program resides is not included in the concatenation?

Bill
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Oct 16, 2009 12:31 am    Post subject:
Reply with quote

Hello,

Or said slightly different - are all of the libraries that are available to the link edit also available to the execution and in the same order?

Is it possible that abend is due to using the wrong load module?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Oct 16, 2009 2:18 am    Post subject:
Reply with quote

don't remember why, but I have always found that you need to statically CALL an entry point - can't dynamically CALL an entry point.

really old school. now-a-days everything is CALLed with a copybook
defining FUNCTION, so that the module can control via the FUNCTION code;
doing away with entry point.

is static faster? initial CALL a little;
but since dynamically CALLed modules stay resident (no need to load for the second CALL) there is no difference between the second dynamic CALL and a static CALL;
and with todays computing power,
Dynamic CALL overhead is not really an issue -
unless of course the rest of the application is so badly written that you need
to save on every cycle.
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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Automation of data entry using Rexx i... zingy.rajeev CLIST & REXX 4 Mon Aug 22, 2016 4:13 pm


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