OSI/FTAM Programming Reference Manual

NonStop FTAM Programming Examples
HP NonStop OSI/FTAM Programming Reference Manual528611-001
G-221
Translation Application Example
Translation Application Example
The following example program opens the responder and issues the Enable
Translation command. It then reads its $RECEIVE and processes all translation
requests.
To compile the program in native environment enter:
NMC/IN exctran1/o; runnable, symbols, winspect, extensions,
strict, runnamed, extensions
To compile the program in the TNS environment enter:
C /IN exctran1/o
Before running the example program, set the fixed environmental variables as follows.
param responder $xxx
Other environmental variables will be used to provide filenames to translate, for
example:
param incomingfilename \sys.$disc.transltd.filename