# Extract Missing Objects?

**URL:** <https://techcommunity.softwareag.com/t/extract-missing-objects/94669>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Add-on-Products, Natural-Engineer, Natural-Other-Addons\
**Created:** [September 14, 2010, 9:29pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669 "2010-09-14T21:29:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![STomsko](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@STomsko](https://techcommunity.softwareag.com/u/STomsko)\
**Post date:** [September 14, 2010, 9:29pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/1 "2010-09-14T21:29:28Z")

</div>

I’ve identified about 200 missing objects for an application. Turns out they are CONSTRUCT objects, a few subprograms but mostly copycode and data areas. I have specified 1) a new application in NEE as “SYSCST” (since that is where the objects exist), extracted and loaded the objects from/to SYSCST, 2) specified SYSCST as a steplib in the primary application (the one with the missing objects), 3) tried to EXTRACT MISSING OBJECTS (which are still on the Missing Objects report). Nothing is extracted, and the objects are still “missing” in the repository as far as the primary application is concerned. What have I missed?

---

<div class="post-metadata">

**Author:** ![Brian\_James](https://avatars.discourse-cdn.com/v4/letter/b/9e8a1a/32.png) [@Brian\_James](https://techcommunity.softwareag.com/u/Brian_James)\
**Post date:** [September 14, 2010, 9:41pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/2 "2010-09-14T21:41:36Z")

</div>

Need a bit of info on your environment. How was the job submitted?  
Basically it runs a Missing Objects report and creates work file 5 with the list of objects missing which is fed into the extract engine.  
If you submitted the job via SPoD to z/OS, then there is a fix required (available in NEE621 SP6 shortly). You could submit the job directly on the MF via the online screens to get around that issue.  
If not, the check the work file 5 (.IO file) to see if it contains anything.

---

<div class="post-metadata">

**Author:** ![STomsko](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@STomsko](https://techcommunity.softwareag.com/u/STomsko)\
**Post date:** [September 14, 2010, 10:09pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/3 "2010-09-14T22:09:00Z")

</div>

Brian,  
All of this is done on z/OS – CICS via NATRJE to TSO batch. Simple. I ran the Missing Object report immediately before requesting the “Load Missing Objects” process, to make sure they were still missing, given that I loaded ALL of the missing objects to the NEE repository as the “SYSCST” application (which I had just created), so that I could specify SYSCST as a STEPLIB to my app (which is called AVAS). Do you need to know anything more?

---

<div class="post-metadata">

**Author:** ![Brian\_James](https://avatars.discourse-cdn.com/v4/letter/b/9e8a1a/32.png) [@Brian\_James](https://techcommunity.softwareag.com/u/Brian_James)\
**Post date:** [September 14, 2010, 10:12pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/4 "2010-09-14T22:12:27Z")

</div>

I have a feeling that it might not pick things up from a FNAT library.  
If you copy some of the items to a FUSER library, like NEECST - does it work?  
Also, some objects may not exist in SOURCE form. If it doesn’t then NEE cannot pick it up.  
What there anything in the WORK FILE 5 of the batch job?

---

<div class="post-metadata">

**Author:** ![STomsko](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@STomsko](https://techcommunity.softwareag.com/u/STomsko)\
**Post date:** [September 14, 2010, 10:58pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/5 "2010-09-14T22:58:40Z")

</div>

In Wk05, I get the list of modules that I expect. However, in the report, I get this:  
Missing Objects Extract  
Called via Natural 3GL interface  
NATURAL Steplib is BSGSYS  
NATURAL Steplib2 is SYSCST  
NATURAL Steplib3 is SYSTEM  
Start of NATURAL Program Objects  
End of NATURAL Program Objects  
End of Processing 0 Objects  
Summary for NATURAL Objects  
Total source lines = 0  
Total comment lines = 0  
Total lines processed = 0  
Total source lines expanded = 0  
Total comment lines expanded = 0  
Total lines processed expanded = 0  
End of Summary for NATURAL Objects

---

<div class="post-metadata">

**Author:** ![Graham\_Axtell](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Graham\_Axtell](https://techcommunity.softwareag.com/u/Graham_Axtell)\
**Post date:** [September 15, 2010, 2:14pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/6 "2010-09-15T14:14:10Z")

</div>

As Brian has indicated it is possible that objects will not be picked up from FNAT libraries (e.g., beginning SYS). Have you tried to copy the construct source objects to an FUSER file such as NEECST or CSTSTEP, making this the steplib and reextracting missing objects ?  
Alternatively if they are valid missing objects e.g. construct system objects without source you could specify them e.g., CDH\* as valid missing objects. They would then not get picked up on the missing objects report.

---

<div class="post-metadata">

**Author:** ![STomsko](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@STomsko](https://techcommunity.softwareag.com/u/STomsko)\
**Post date:** [September 16, 2010, 12:11am UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/7 "2010-09-16T00:11:25Z")

</div>

Well, I have done the following:

1. Created a new NATURAL library called NEECST
2. Copied the many missing CONSTRUCT objects to that library (which is in FUSER as opposed to the SYSCST library that was in FNAT)
3. Created a new application in NEE called NEECST, and extracted the source code and loaded all of it to the Repository
4. Edited the the preferences of my AVAS application to include the steplib NEECST
5. Ran the Extract Missing Objects process

Same results – no source code extracted. Any thoughts?

---

<div class="post-metadata">

**Author:** ![Graham\_Axtell](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Graham\_Axtell](https://techcommunity.softwareag.com/u/Graham_Axtell)\
**Post date:** [September 16, 2010, 4:06pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/8 "2010-09-16T16:06:52Z")

</div>

I would suggest going through you’re local Software AG support centre. It might be a problem with the particular version you are running or they may be able to spot a problem with the configuration.

---

<div class="post-metadata">

**Author:** ![STomsko](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@STomsko](https://techcommunity.softwareag.com/u/STomsko)\
**Post date:** [September 16, 2010, 10:38pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/9 "2010-09-16T22:38:05Z")

</div>

Can’t seem to come up with any configuration issues. Nothing jumps out of the generated JCL that NEE submits; the ###CINI object looks fine. And, as it turns out, the “Extract Missing Objects” process does not work for any application at any time, regardless of whether the STEPLIB is in FUSER or FNAT. The process correctly populates the working list in CMWKF05, and then proceeds to ignore it by not extracting anything. And the job does not throw any errors into CMWKF04 (empty dataset after the job completes). So I guess it’s off to support… Thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:59pm UTC](https://techcommunity.softwareag.com/t/extract-missing-objects/94669/10 "2021-04-02T14:59:04Z")

</div>


