IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

0c1 with dynamic entry-point call


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Oct 16, 2009 12:01 am
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

Moderator Emeritus


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

PostPosted: Fri Oct 16, 2009 12:31 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Point and Shoot )PTNS TSO/ISPF 0
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Call program, directly from panel CLIST & REXX 9
Search our Forums:

Back to Top