DLL Programmer's Guide for TNS/R Systems
Sample Sessions and Usage Notes
DLL Programmer’s Guide for TNS/R Systems—522203-002
6-4
Sample Session One
Build the Program
The next step is to link the files using nld, the native mode linker, to create an
executable file called revstr.
$SYSTEM.SYSTEM.NLD mainstro mystro -o revstr -obey $SYSTEM.SYSTEM.libcobey -L
$OSS.NSKAPAT1 -set HIGHPIN ON -set HIGHREQUESTOR ON $SYSTEM.SYSTEM.CRTLMAIN
NLD - NATIVE MODE LINKER - T6017D45 - 30APR03
(C)1993 Tandem (C)2003 Hewlett-Packard Development Company, L.P.
NLD's command line was:
\dllqa.$system.system.nld mainstro mystro -o revstr -obey
$SYSTEM.SYSTEM.libcobey
-L $OSS.NSKAPAT1 -set HIGHPIN ON -set HIGHREQUESTOR ON
$SYSTEM.SYSTEM.CRTLMAIN
**** INFORMATIONAL MESSAGE **** [20022]:
The SRL name or archive name specified as 'zcresrl' in a -l, -lib, or
-import flag was resolved to the SRL named
'\DLLQA.$SYSTEM.SYS00.zcresrl'.
Comment: lots of other informational messages edited out . . .
**** INFORMATIONAL MESSAGE **** [20022]:
The SRL name or archive name specified as 'zosshsrl' in a -l, -lib, or
-import flag was resolved to the SRL named
'\DLLQA.$SYSTEM.SYS00.zosshsrl'.
NLD reported 0 errors.
NLD reported 0 warnings.
NLD reported 11 informational messages.
NLD created the following type of object file:
\DLLQA.$OSS.NSKAPAT1.revstr (ELF, executable)
NLD Timestamp: 31MAR2003 13:22:40
Elapsed Time: 00:00:01
Run The Program
Finally, you can run the program.
RUN REVSTR ABC
Reverse(ABC) = (CBA)
Hit enter to finish