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

Error: NO ACTIVE MODULE FOUND


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gopalakrishnan V

Active User


Joined: 28 Jun 2010
Posts: 102
Location: chennai

PostPosted: Wed Sep 08, 2010 6:33 pm
Reply with quote

Hi,

I want to compile a cobol program. The compile jcl is run successfully, but the runjcl gives the U4083 reason code=000002.
error message as "NO ACTIVE MODULE FOUND". If suppose any load module error i should get error at the time of compile. But compile is successful.

Please clarify my doubt....Thanks in advance
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Sep 08, 2010 6:43 pm
Reply with quote

There are a number of incorrect suppositions and assumptions in what you've posted:

- you said you compiled the program but you did not mention running the linkage editor / binder against the program -- was this done?

- look at the linkage editor output. It will tell you what the load module name is that you need to execute, as well as the load library that the module was placed in (assuming you've got the options set correctly).

- a program may be compiled, linkage edited (bound) with zero return codes across the board and still you could get the NO ACTIVE MODULE FOUND message --- such as when you compiled program ABC0 (A-B-C-zero) and then executed program ABCO (A-B-C-letter O). In other words, check for typos.

- you may also need the LE run time library SCEERUN (and maybe SCEERUN2) to be included in your execution JCL

Bottom line: contact your site support group and work with them to identify the problem and resolve it. This is your best way to resolve this, especially considering you posted no system output to help us diagnose your problem.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Wed Sep 08, 2010 6:43 pm
Reply with quote

Hi Gopalakrishnan,

A simple check you could do is to verify whether the load module name is available in the Load Library mentioned in your run JCL...
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: Wed Sep 08, 2010 6:44 pm
Reply with quote

If it's a Dynamic CALL, you will not get an error during compilation.

Check your JOB's LOADLIB concatenation.

Either the module is missing from one of the target LOADLIB's or you've omitted a LOADLIB from the concatenation entirely.

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

New User


Joined: 26 Sep 2008
Posts: 51
Location: New York

PostPosted: Fri Sep 10, 2010 10:40 pm
Reply with quote

I looked at your POST and recognized your "error message". Just finished running my test --
*** Your problem may be in the name you
gave your DD Card which pointed to the file
that you were trying to open
1. I took a simple program that opened an INPUT file -
where the DD card was named //MYFILE1 DD ................
2. I CHANGED in JCL DD card to give it an erroneous name,
so tht when my program OPENED this input file -- It could
not find the DD card (because I had changed the name)
3. When I ran my program --
a. it tried to open the file
b. when it didn't find the DD Card for the file
c. "I believe" my program tried to call an ABEND program
and when it couldn't find the ABEND program --
My program gave me this ABEND MESSAGE

IEA995I SYMPTOM DUMP OUTPUT 831
USER COMPLETION CODE=4039 REASON CODE=00000000
TIME=13.01.17 SEQ=00623 CPU=0000 ASID=02FB
PSW AT TIME OF ERROR 078D1000 87825A4A ILC 2 INTC 0D
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Sat Sep 11, 2010 1:39 am
Reply with quote

U abend codes are runtime environment dependent so it would be nice to know the JCL you have been using.

User abend codes are normally documented in the Messages and Codes reference for the environment product. Possibly the error has been documented in SYSOUT or other job output.
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 Error to read log with rexx CLIST & REXX 11
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top