Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing OSS Files
Open System Services Management and Operations Guide—527191-005
6-29
Redirecting OSS Standard Files
Figure 6-6 on page 6-30 illustrates the behavior when OSSTTY is run as a server
named $ZTTY before starting an application program explicitly designed to use it, such
as mysample3 in the following command set:
RUN OSSTTY / NAME $ZTTY, IN $VHS,OUT $DATA.OSSLOG.EDITFIL,
TERM $VHS, NOWAIT / -server
OSH -p "/usr/mysample3"
For information about using OSSTTY through the OSH command, see the osh(1)
reference page either online or in the Open System Services Shell and Utilities
Reference Manual. For an example of a TACL script using OSSTTY, see the Open
System Services Programmer’s Guide.
Figure 6-5. Redirecting Selected OSS Standard Files
S
t
a
n
d
a
r
d
i
n
p
u
t
f
i
l
e
OSS shell
OSSTTY
Telserv
session
$DATA.OSSLOG.
EDITFIL
OUT
Standard
output file
/G/ZAAA/#stdout
/G/ZAAA/#stderr
S
t
a
n
d
a
r
d
e
r
r
o
r
f
i
l
e
$VHS
T
E
R
M
VST023.vsd