Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALID'

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
narendrabade

New User


Joined: 27 Jan 2011
Posts: 6
Location: Pune

PostPosted: Fri Apr 08, 2011 6:14 pm    Post subject: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALID'
Reply with quote

While running the test JCL , I got abend S806 saying that
"IEW4007I FIND FOR MODULE XY2MS000 FAILED BECAUSE DIRECTORY ENTRY IS NOT VALID "

The given Programs LOAD along with called sub-program LOAD is present in PDS given in Steplib . I have checked the previous post on the same but could not find helpful!!

This program is IMS-COBOL program.

Can you please help me to solve this problem?

Thanks,
Narendra
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Fri Apr 08, 2011 6:18 pm    Post subject:
Reply with quote

Follow the manual suggestions?
Quote:
IEW4007I FIND FOR MODULE program-name FAILED BECAUSE DIRECTORY ENTRY IS
NOT VALID FOR A LOAD MODULE.

Explanation: An invalid or incorrect PDS directory entry was detected during processing of the Loader's FIND function when loading a load module.

System Action: An abend 806-04 will occur, accompanied by message IEW4007 in the job log when an attempt is made to locate the module.

User Response: Determine cause of the invalid directory entry, rebuild it and rerun the job. Ensure the specified entry exists in the specified library.
Back to top
View user's profile Send private message
narendrabade

New User


Joined: 27 Jan 2011
Posts: 6
Location: Pune

PostPosted: Fri Apr 08, 2011 7:23 pm    Post subject:
Reply with quote

I did not get you exactly what are you saying. Sorry !!
Back to top
View user's profile Send private message
narendrabade

New User


Joined: 27 Jan 2011
Posts: 6
Location: Pune

PostPosted: Fri Apr 08, 2011 7:40 pm    Post subject:
Reply with quote

Some qustion are pop-up in my mind like how to check " cause of the invalid directory entry, rebuild it"
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7904
Location: Bellevue, IA

PostPosted: Fri Apr 08, 2011 7:49 pm    Post subject:
Reply with quote

1. Is it a PDS? Try to access it in ISPF 3.4 to find out.
2. If it is a PDS, is it defined correctly (U RECFM, no LRECL, BLKSIZE defined)?
3. If it is a PDS, and it is defined correctly, can you browse random members of the PDS? I'd pick the first, last, and one in the middle to check.
4. If it is okay so far, can you browse the specific load module having the problem?

Although if the load library doesn't have many entries, I'd probably just define a new one and recompile the modules I want in it. then delete the one that's having problems.

Based on your posts to date, I recommend you strongly consider going to the Beginners and Students Forum instead of this one. We expect you to be able to read error messages, interpret what they say, and then do what they say -- like a professional -- instead of asking for the most elementary help as you did.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Apr 08, 2011 7:53 pm    Post subject: Reply to: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALI
Reply with quote

May be recompile, link-edit your program and execute the job 'gain.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Apr 08, 2011 8:44 pm    Post subject: Reply to: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALI
Reply with quote

I was also thinking that a compress of that PDS probably wouldn't hurt either.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Sat Apr 09, 2011 4:58 am    Post subject: Re: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALID'
Reply with quote

narendrabade wrote:

The given Programs LOAD along with called sub-program LOAD is present in PDS given in Steplib .


It dosn't matter if you can "see" that the load module is there. The message did not say that the module was missing, it said that the directory entry was invalid. If the load module was missing, you'd get a more "normal" S806. Can you browse the program? - I'd guess not.

Not sure if it is still the case, but a good way to screw up a PDS used to be to run your LINKEDIT with DISP=SHR and no other locking mechanism. Two links running at the same time, directory could get screwed. Also used to be possible on shared "text" PDSs (program sources). Seen it happen on ISPF and ROSCOE, although here the timing has to be much, much, closer as it doesn't take so much time to write the member.
Back to top
View user's profile Send private message
narendrabade

New User


Joined: 27 Jan 2011
Posts: 6
Location: Pune

PostPosted: Sat Apr 09, 2011 11:07 am    Post subject: Reply to: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALI
Reply with quote

Thanks for your reply

Yes, It is PDS and standard one that we are using for the application. I browsed the load present in the PDS and also checked that from which Changeman package, it has gone to production last time.

Also I recompiled and Link-Edited the Source Program present in the Changeman package but It didn't help me.

FYI..We always checkout the source program from production Library into changeman package and Use Changeman Load in steplib and below that we use standard production LOAD library.

Example:

STEPLIB DD DSN=CHANGEMAN.LOD,DISP=SHR
DD DSN=PRODUCTION.LOD,DISP=SHR

I ran JCL with both Load module separately but same problem occurred.

Just want to tell you, Whenever we compile the program in changeman, we got various compiling option like DB2 Compiling, Normal Compiling or DLITCBL compiling and various option..

As we have No DB2 in program, we keep the option 'N' and keep the option 'Y' for DLITCBL as it is IMS program.

Experts,
Please let me know if you want me to share more specific information or if you have any question for me?

Thanks,
Narendra
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Apr 09, 2011 11:15 am    Post subject: Reply to: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALI
Reply with quote

time to restore the PDS from a <working> copy.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Apr 09, 2011 5:08 pm    Post subject: Reply to: ABEND S806 with error 'DIRECTORY ENTRY IS NOT VALI
Reply with quote

:Loop

Your question is geting site-specific-question now. Get in contact with your site-support. They can help you the best.

:Exit


For a try -

1. Try to execute another program, present in the same Load-lib, whcih you are sure of, won't give you such an error and see what happens.

2. Create another Change-Man package and use the new load-library in your Job.

3. If nothing works, GO TO :Loop.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us