View previous topic :: View next topic
|
Author |
Message |
jctgf Currently Banned Active User
Joined: 04 Nov 2006 Posts: 109
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|