View previous topic :: View next topic
|
Author |
Message |
narendrabade
New User
Joined: 27 Jan 2011 Posts: 6 Location: Pune
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
narendrabade
New User
Joined: 27 Jan 2011 Posts: 6 Location: Pune
|
|
|
|
I did not get you exactly what are you saying. Sorry !! |
|
Back to top |
|
|
narendrabade
New User
Joined: 27 Jan 2011 Posts: 6 Location: Pune
|
|
|
|
Some qustion are pop-up in my mind like how to check " cause of the invalid directory entry, rebuild it" |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
May be recompile, link-edit your program and execute the job 'gain. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I was also thinking that a compress of that PDS probably wouldn't hurt either. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
narendrabade
New User
Joined: 27 Jan 2011 Posts: 6 Location: Pune
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
time to restore the PDS from a <working> copy. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
: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 |
|
|
|