# Unload/Reload Conceptual file in Batch

**URL:** <https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Linux, Adabas-Utilities-on-Open-Systems\
**Created:** [April 20, 2010, 5:05am UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394 "2010-04-20T05:05:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Webb1](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Stephen\_Webb1](https://techcommunity.softwareag.com/u/Stephen_Webb1)\
**Post date:** [April 20, 2010, 5:05am UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/1 "2010-04-20T05:05:25Z")

</div>

I am trying to discover the commands to unload and reload a conceptual file from our development predict system to our other predict systems in batch.

We have a number of conceptual files that are used to provide help text for the fields used in our application.

When we were running on the mainframe we had a batch job that refreshed these files from development to production, so that any changes were implemented.

Now that we are running on AIX, we need to remediate this job.

So far I haven’t been able to determine what commands are required for SYSDICBE?

---

<div class="post-metadata">

**Author:** ![Brian\_Johnson1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/brian_johnson1/32/163_2.png) [@Brian\_Johnson1](https://techcommunity.softwareag.com/u/Brian_Johnson1)\
**Post date:** [April 20, 2010, 7:01pm UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/2 "2010-04-20T19:01:28Z")

</div>

Hopefully this mainframe answer will apply in your environment.

To unload your Predict definition, run this:

LOGON SYSDICBE  
MENU  
UNLOAD OBJECT,FILE,filename,INTERNAL-ID=N

Then to load it, run this:

LOGON SYSDICBE  
MENU  
LOAD OBJECT FILE \* ADA=N REPLACE=Y

It shouldn’t matter that the file is a type C as opposed to A or U.

On the mainframe, the write/read is to CMWKF01. I am not sure what the equivalent of that is in AIX.

Good luck!

---

<div class="post-metadata">

**Author:** ![Stephen\_Webb1](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Stephen\_Webb1](https://techcommunity.softwareag.com/u/Stephen_Webb1)\
**Post date:** [April 21, 2010, 7:16am UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/3 "2010-04-21T07:16:23Z")

</div>

Still no luck.

This is the result.

NEXT MENU  
FIELD

NAT9978 Error occurred during execution/compilation.

Logon accepted to library SYSDICBE.  
09:43:30 \*\*\*\*\* P R E D I C T 4.5.2 \*\*\*\*\* 2010-04-21

## CATASTROPHIC ERROR

Error…: 0999  
Line no…: 1050  
Program…: BATOB1 ( BATOB1 )  
Level…: 1  
Subroutine:  
NAT0999 Internal error.

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 21, 2010, 6:50pm UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/4 "2010-04-21T18:50:10Z")

</div>

looks like Natural couldn’t find any input to the command. Check that the data input (Predict commands that Brian suggested) are in the input stream.

Also, try changing the forms mode in the dynamic parameters - IM=F (Forms) or IM=D (delimiter).

---

<div class="post-metadata">

**Author:** ![Stephen\_Webb1](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Stephen\_Webb1](https://techcommunity.softwareag.com/u/Stephen_Webb1)\
**Post date:** [April 22, 2010, 4:53am UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/5 "2010-04-22T04:53:40Z")

</div>

I don’t think that is the problem.

If I just use the following commands it doesn’t fail. Doesn’t do anything either, of course.

LOGON SYSDICBE  
MENU  
FIN

---

<div class="post-metadata">

**Author:** ![Brian\_Johnson1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/brian_johnson1/32/163_2.png) [@Brian\_Johnson1](https://techcommunity.softwareag.com/u/Brian_Johnson1)\
**Post date:** [April 22, 2010, 10:07pm UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/6 "2010-04-22T22:07:18Z")

</div>

I think IM=D, as Douglas mentioned, is recommended for the description of your problem.

In my JCL, I expressly pass a parms card:  
PARM=(‘IM=D,AUTO=ON,INTENS=1,MT=0,MADIO=0’)

Can you try this and report back how it’s working?

---

<div class="post-metadata">

**Author:** ![Stephen\_Webb1](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Stephen\_Webb1](https://techcommunity.softwareag.com/u/Stephen_Webb1)\
**Post date:** [April 23, 2010, 4:33am UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/7 "2010-04-23T04:33:42Z")

</div>

The response…

NEXT GLOBALS IM=D  
NEXT MENU  
FIELD

NAT9978 Error occurred during execution/compilation.

Logon accepted to library SYSDICBE.  
09:02:41 \*\*\*\*\* P R E D I C T 4.5.2 \*\*\*\*\* 2010-04-23

## CATASTROPHIC ERROR

Error…: 0999  
Line no…: 1050  
Program…: BATOB1 ( BATOB1 )  
Level…: 1  
Subroutine:  
NAT0999 Internal error.

Due to the way we run batch jobs, I can’t change the Nat Parms.

---

<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:58pm UTC](https://techcommunity.softwareag.com/t/unload-reload-conceptual-file-in-batch/93394/8 "2021-04-02T14:58:22Z")

</div>


