OSI/AS and OSI/TS Supplement (Includes RFC-1006 Support)
OSI/AS Configuration Example
RFC-1006 Configuration Command Files
107751 Tandem Computers Incorporated 4–3
/*
* It must be an 8-digit hex string
*/
if (strlen(argv[1]) == 8)
{
DNUMIN(argv[1], &l, 16, &error, PLAIN_FLAG);
if (!error)
{
in.s_addr = l;
printf("%s\n", inet_ntoa(in));
return 0;
}
}
}
/*
* Here if the input was not in a valid format
*/
fprintf(stderr, "Expecting an IP address in dotted decimal notation,\n"
"Or an eight-digit hexadecimal string\n");
return 0;
}
OSI/AS Configuration
Example
The following example file configures OSI/AS over a TCP/IP internetwork. The
source-code file for this example is provided as part of the OSI/AS software. It resides
(by default) in $SYSTEM.ZOSIAS.EXCFG7. Below is the source code of this
configuration example.
=============================================================
== File: EXCFG7
==
== Example SCF command file for configuring and starting
== OSI/AS processes over a TCP/IP internet.
==
== SCF and the Tandem TCP/IP subsystem must be running
== before you use the OBEY command to invoke this file.
==
== NOTE: Before using this command file, you must supply
== names and addresses that reflect your environment.
=============================================================
=============================================================
== Tandem operating system commands for preparing the
== subsystem:
=============================================================
==
== Clean up the OSI/AS subsystem first!
==
stop process $OSIM
stop process $TAPS1
stop process $TSP1
==
== Create new MIB.
==