S806 Abend code



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

S806 Abend code

Postby Prakesh » Wed Mar 12, 2014 7:16 pm

Hi there,
I've currently got a problem where I keep getting this abend code S806 which is no active module found.
When I look at the problem I'm not too sure whether it it ASM that is not running correctly along with my STEPLIB/Load.
Here are the parts I can identify
09.26.55 JOB08368  IEF450I T07JOB1 RUN ASM - ABEND=S806 U0000 REASON=00000004   
09.26.55 JOB08368  -ASM      RUN      *S806     10      1       .00       .00   
09.26.55 JOB08368  -COBOL    RUN      FLUSH      0      0       .00       .00   
09.26.55 JOB08368  -T05               FLUSH      0      0       .00       .00   
09.26.55 JOB08368  -T07JOB1  ENDED.  NAME-                     TOTAL TCB CPU TIM
09.26.55 JOB08368  ¬£HASP395 T07JOB1  ENDED                                     

CSV003I REQUESTED MODULE MYASM    NOT FOUND                 
CSV028I ABEND806-04  JOBNAME=T07JOB1   STEPNAME=RUN         
IEA995I SYMPTOM DUMP OUTPUT                                 
SYSTEM COMPLETION CODE=806  REASON CODE=00000004             
 TIME=09.26.55  SEQ=16674  CPU=0000  ASID=002E               
 PSW AT TIME OF ERROR  070C1000   8142BE8E  ILC 2  INTC 0D   
   NO ACTIVE MODULE FOUND                                   
   NAME=UNKNOWN                                             
   DATA AT PSW  0142BE88 - 8400181E  0A0D18FB  180C181D     

09.26.54 JOB08368  CSV003I REQUESTED MODULE MYASM    NOT FOUND               
09.26.54 JOB08368  CSV028I ABEND806-04  JOBNAME=T07JOB1   STEPNAME=RUN       
09.26.55 JOB08368  IEA995I SYMPTOM DUMP OUTPUT  114                           
   114             SYSTEM COMPLETION CODE=806  REASON CODE=00000004           
   114              TIME=09.26.55  SEQ=16674  CPU=0000  ASID=002E             
   114              PSW AT TIME OF ERROR  070C1000   8142BE8E  ILC 2  INTC 0D
   114                NO ACTIVE MODULE FOUND                                 
   114                NAME=UNKNOWN                                           



And finally here is the code I'm trying to run
 000001 //T07JOB1  JOB 1,NOTIFY=&SYSUID                                   
 000002 //**************************************//                       
 000003 //MYPROC   PROC                                                   
 000004 //RUN      EXEC PGM=&MYPGM                                       
 000005 //STEPLIB  DD DSN=&SYSUID..CW.LOAD,DISP=SHR                       
 000006 //XOUT     DD SYSOUT=*,                                           
 000007 //         DCB=LRECL=80,OUTLIM=100                               
 000008 //XIN      DD DUMMY                                               
 000009 //         PEND                                                   
 000010 //**************************************//                       
 000011 //C        EXEC MYPROC,MYPGM=MYC                                 
 000012 //RUN.XIN  DD *                                                   
 000013   This execution of MYPROC is required to execute my C program   
 000014 //**************************************//                       
 000015 //ASM      EXEC MYPROC,MYPGM=MYASM                               
 000016 //RUN.XIN  DD *             
 000017   This execution of MYPROC is required to execute my Assembler program
 000018 //**************************************//                           
 000019 //COBOL    EXEC MYPROC,MYPGM=MYCOB                                   
 000020 //RUN.XIN  DD *                                                       
 000021   This execution of MYPROC is required to execute my COBOL program                             
 000022 //**************************************//                           
 000023 // IF RC = 0 THEN                                                     
 000024 //T05     EXEC PGM=IEBGENER                                           
 000025 //SYSPRINT DD SYSOUT=*                                               
 000026 //SYSUT1   DD DSN=&SYSUID..CW.DATA(T05),DISP=SHR                     
 000027 //SYSUT2   DD DSN=&SYSUID..CW.OUTPUT(T05),DISP=SHR                   
 000028 //SYSIN    DD DUMMY                                                   
 000029 // ENDIF                                                                                                   
Prakesh
 
Posts: 3
Joined: Wed Mar 12, 2014 7:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: S806 Abend code

 

Re: S806 Abend code

Postby enrico-sorichetti » Wed Mar 12, 2014 7:23 pm

what is that is not clear in the message
09.26.54 JOB08368  CSV003I REQUESTED MODULE MYASM    NOT FOUND   
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: S806 Abend code

Postby Prakesh » Wed Mar 12, 2014 7:26 pm

It's identified it here in the code
000014 //**************************************//                       
 000015 //ASM      EXEC MYPROC,MYPGM=MYASM                               
 000016 //RUN.XIN  DD *             
 000017   This execution of MYPROC is required to execute my Assembler program
 000018 //**************************************//


Here is more of what's above it
CODE=00000004                                                                 
0  ASID=002E                                                                   
8142BE8E  ILC 2  INTC 0D                                 
 09.26.54 JOB08368  -                                 
 09.26.54 JOB08368  -STEPNAME PROCSTEP    RC   EXCP   
 09.26.54 JOB08368  -C        RUN         00     54   
 09.26.54 JOB08368  CSV003I REQUESTED MODULE MYASM   
 09.26.54 JOB08368  CSV028I ABEND806-04  JOBNAME=T07JO
 09.26.55 JOB08368  IEA995I SYMPTOM DUMP OUTPUT  114       
Prakesh
 
Posts: 3
Joined: Wed Mar 12, 2014 7:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: S806 Abend code

Postby enrico-sorichetti » Wed Mar 12, 2014 7:31 pm

whatever You mean by IDENTIFIED ...
the system cannot find the program you are trying to execute RIP
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: S806 Abend code

Postby enrico-sorichetti » Wed Mar 12, 2014 7:35 pm

what about looking Yourselv at the system abed codes ???
http://publibz.boulder.ibm.com/cgi-bin/ ... 0112020001

the abed S806 reason code 4 tells clearly that we are wasting time here :ugeek:
Code Explanation

04
The system could not find the module, whose entry point is the value of the EP or EPLOC operand, in the indicated library (private library, job library, or link library). This situation can occur when LSEARCH=YES is specified on the macro and the limited library search fails to locate the module. For an alias name, ensure that the entry point attributes match that of the load module which was previously loaded (that is, authorization, RMODE, entry point displacement).


for some reason which is up to you to investigate the program is not/never was where Your jcl expects to find it
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: S806 Abend code

Postby Stefan » Wed Mar 12, 2014 8:43 pm

I'll try to explain it as simple as possible:
You used a job which has an instream procedure used by 3 steps.
The first step "C" successfully loaded a module "MYC" from your load library &SYSUID.CW.LOAD, whereas the second step "ASM" failed with S806. The requested load module "MYASM" could not be found in your load library or any predefined system load library. This severe error caused JES to terminate your job. You should check your load library or add another one (containing the module MYASM) to the data definition of STEPLIB in your instream procedure.
Hope this helps
There are 10 types of people in the world: Those who understand binary, and those who don't.
User avatar
Stefan
 
Posts: 27
Joined: Tue Aug 21, 2012 3:02 pm
Has thanked: 0 time
Been thanked: 2 times

Re: S806 Abend code

Postby Prakesh » Wed Mar 12, 2014 10:06 pm

Thanks Stefan I will try and make required changes
Prakesh
 
Posts: 3
Joined: Wed Mar 12, 2014 7:03 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post