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

Fix S806 Abend in JCL


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rupesh Gupta

New User


Joined: 10 Jan 2007
Posts: 13
Location: Chennai

PostPosted: Fri Feb 02, 2007 11:27 am
Reply with quote

S806 abend 'Module Not Found'

i am gettign abend code S806 while submiting JCL for IMB program .. please help me
Back to top
View user's profile Send private message
devidas-patil

New User


Joined: 08 Jan 2007
Posts: 54
Location: pune

PostPosted: Fri Feb 02, 2007 11:35 am
Reply with quote

you will get this abend code S806 when you are calling to subprogram in your main program dynamically but load module is not getting at the time of run..
if problem solve plz let me know
Back to top
View user's profile Send private message
Rupesh Gupta

New User


Joined: 10 Jan 2007
Posts: 13
Location: Chennai

PostPosted: Fri Feb 02, 2007 11:39 am
Reply with quote

thanks patil for quic response .... but i am not calling any subpgm in my program ... is thr any other reason for this abend
Back to top
View user's profile Send private message
chtrisa

New User


Joined: 19 Dec 2006
Posts: 12
Location: chennai

PostPosted: Fri Feb 02, 2007 11:44 am
Reply with quote

hi Rupesh

Program not on the library, May need a JOBLIB or STEPLIB

An S806 abend typically indicates a problem with the program's execution, specifically related to an issue with the load module or program code. Here's a detailed explanation of an S806 abend and steps to address it:

Understanding S806 Abend:

Load Module Issue:
The S806 abend occurs when the system encounters a problem while attempting to load the program's load module into memory for execution.
It can indicate issues such as missing or corrupt load modules, incorrect program specifications, or invalid program formats.

Common Causes:

Missing Load Module: The load module specified in the EXEC statement of the JCL may be missing or not accessible in the specified library or dataset.
Corrupt Load Module: The load module file may be corrupt or damaged, leading to issues during loading and execution.
Program Compilation Errors: Compilation errors or incorrect program specifications during the compile/link-edit process can result in S806 abends.

Steps to Resolve S806 Abend:

Verify Load Module Availability:
Check the JCL's EXEC statement to ensure that the correct load module name and location are specified.
Verify that the load module exists and is accessible in the specified library or dataset. Ensure proper permissions are set if required.

Recompile and Link-edit:
If the S806 abend persists, recompile and link-edit the program to generate a new load module. Address any compilation errors or warnings encountered during the process.

Check for Corruption:
If the load module is suspected to be corrupt, obtain a clean copy of the load module from a reliable source or regenerate the load module using the source code.

Review Program Specifications:
Double-check program specifications, including entry points, subroutine calls, and program logic, to ensure they are correct and compatible with the load module format.

Check System Messages:
Analyze system messages and job logs associated with the S806 abend to gather more information about the specific error condition or cause.

Memory Availability:
Ensure that sufficient memory is available for loading and executing the program's load module. Address any memory allocation issues if identified.
Back to top
View user's profile Send private message
Rupesh Gupta

New User


Joined: 10 Jan 2007
Posts: 13
Location: Chennai

PostPosted: Fri Feb 02, 2007 11:48 am
Reply with quote

thanks chtrisa.. i solved tht prob .. but nw im getting S837 abend... cn u help me
Back to top
View user's profile Send private message
chtrisa

New User


Joined: 19 Dec 2006
Posts: 12
Location: chennai

PostPosted: Fri Feb 02, 2007 11:52 am
Reply with quote

Hi Rupesh

i think Space problem, Alloted space is not enough for data set.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
Search our Forums:


Back to Top