Fix your abend here

Find your abend and fix it

Friday 14 September 2012

5. S806 Abend

     If you are getting S806, this may be due to one of the following reasons.

1. Load Module not found in loadlib.
2. Missing Joblib or Steplib card.
3. Tried to execute a non existent program
4. SYSIN card given incorrectly to LKED or name card missing.

Sample JCL
--------------
//LOADJOB JOB 'LOAD',NOTIFY=&SYSUID

//STEP1  EXEC PGM=IKJEFT01, 
//              DYNAMNBR=20 
//STEPLIB DD DSN=SAMPLE.LOAD,DISP=SHR 
//        DD DSN=SAMPLE.LOAD.IN,DISP=SHR 
//        DD DSN=SAMPLE.RUNLIB.LOAD,DISP=SHR 
//        DD DSN=SAMPLE.CICS410.LOADLIB,DISP=SHR 
//DBRMLIB DD DSN=SAMPLE.MAC.DBRM,DISP=SHR   
//SYSTSPRT DD SYSOUT=A 
//SYSPRINT DD SYSOUT=A 
//SYSUDUMP DD SYSOUT=A 
//SYSTSIN DD * 
      DSN SYSTEM(DSN) 
      BIND PLAN(PLAN1) MEM(PGM1)  -
      LIBRARY ('SAMPLE.MAC.DBRM')    -
      RELEASE(COMMIT) ISOLATION(CS)   - 
      VALIDATE(BIND)                                       - 
      ACTION(REPLACE) OWNER(NAGU)    
      END 
/* 
//

Fix:
----
1. Make sure your load module is available in the given load lib.
2. Check whether PDS name given in step lib is spelled correct.
3. The member name given in SYSIN card should be available in given library.

Check the above three fix and re-run your job. S806 abend will be fixed.


No comments:

Post a Comment