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?
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!
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.
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).
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
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?
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.