In NaturalOne 8.2.4 working on server mode(Unix AIX).
Have a program in library SYSTEM(FUSER), and this is a STEPLIB.
I need to run a program library SYSTEM(FUSER) from another library, it’s possible?
The 2nd environment’s FUSER will need to be defined in NATPARM in the global
configuration with a specific dbid/fnr, then add SYSTEM (with that dbid/fnr explicitly)
specified to your STEPLIB chain.
Note:
this will override ALL of what is in the “current” environment’s SYSTEM(FUSER), so there
is no way of executing just one program from a specific library and have Natural ignore
everything else on that library, if this is the requirement you will have to copy that one
module (and co-requisites) to a STEPLIB library.
In this way my natparm, this is according to what you said?
04/04/2012 Natural Configuration Utility User: (Config)
V 6.3.9 PL 0 Software AG 2010 File: NATPARM
???
File Edit Configuration Search ?
???
??? System Files ???
? C DBID FNR Alias Name Path ?
? 22 10 /opt/sag/nat/v6390/fnat ?
? 22 20 /opt/sag/nat/fuser ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
? 0 0 ?
???
Enter command - [D]elete [I]nsert [U]ndo
Thanks
Maybe I misunderstood what you are asking for, what I understood is
you have a 2nd environment and you want to use library SYSTEM from
this 2nd environment’s FUSER.
If this is the case what you will need to do is, for example, define
/opt/sag/nat2/fuser as DBID=33 FNR=20
then add SYSTEM with DBID=33 FNR=20 to your STEPLIB chain in
NATPARM → Edit → Natural Execution Configuration → Steplibs
I have a library SYSTEM (FNAT) and I have another library SYSTEM (FUSER).
All objects that are in the library SYSTEM (FUSER) I can run from any other library in Natural Unix, but NaturalOne can not do it.
04/04/2012 Natural Configuration Utility User: (Config)
V 6.3.9 PL 0 Software AG 2010 File: NATPARM
???
?File Edit ? Batch Mode… ? Search ?
??? Buffer Sizes ???
? Datab??? Steplibs ???
? Natur? *STEPLIB (STEPLIB) SYSTEM ??
? Natur? ??
? Produ? Steplib Extension ??
? Clien? No Name DBID FNR ??
??? – -------- ----- ---- ??
? 1 SYSEXDDM 22 10 ??
? 2 SYSIDL 22 10 ??
? 3 SYSLIB 22 10 ??
? 4 SYSEXT 22 10 ??
? 5 SYSRPC 22 10 ??
? 6 0 0 ??
? 7 0 0 ??
? 8 0 0 ??
???
Enter steplib name
04/04/2012 Natural Configuration Utility User: (Config)
V 6.3.9 PL 0 Software AG 2010 File: NATPARM
???
?File Edit ? Batch Mode… ? Search ?
??? Buffer Sizes ???
??? System Files ???
?? DBID FNR Password Cipher ROSY ?
?? FNAT 22 10 OFF ?
?? FUSER 22 20 OFF ?
?? FSEC 191 7 OFF ?
?? FDIC 191 40 ?
? FDDM 0 0 OFF ?
???
? Regional Settings ?
? Report Parameters ?
? Steplibs ?
? System Files ?
? System Variables ?
? Work Files ?
???
0 to 254 (0 means undefined)
I have the following in a user library
STACK TOP COMMAND 'HELOSYSP'
END
and the following (HELOSYSP, Type=Program) in SYSTEM on FUSER
INPUT (AD=O) 'HELLO WORLD'
END
Is this what you are looking for and what does not work as expected ?