Hi All,
I tried to create an object dynamically using USR2014N, and able to write in the SWA using USR2019N and able to save that object. When i tried to stow the object using USR0210N, the return code is 0(ERR is 0) , still object doesnt get stowed.
While going thru the documentation, I found the below explanation.
---
Once the subprogram(USR0210N)has returned to the calling program
with ERR=0, the NATURAL STACK will have been modified.
The caller has to issue a STOP statement to give control
to the STACK mechanism.
.
On the STACK, there are now commands that start the wanted function.
.
A Natural module will be catalogued or stowed via the Natural stack,
because it is not possible to call the Natural compiler from a Natural
module. With USR1052N (Send a command to the operating system) a user
may start a batch Natural and catalog an object in a separate Natural
batch session.
---
1. Natural module cannot be cataloged/Stowed using a module?
2. I want to stow the saved object using a module. Is there any other way to do that?
Note: I am calling these three subprograms in a single program one after the other.
Cheers
Arkantos