AM3270 and TR3271 Configuration and Management Manual
SCF Interface to AM3270 and TR3271
AM3270 and TR3271 Configuration and Management Manual—529993-001
4-6
Setting the Initial Input Source
Setting the Initial Input Source
To specify an initial input source for an SCF session, use the IN option of the RUN
command. You can specify a terminal (identified by its logical-device name) or a disk
file. For example, the following TACL RUN command initiates SCF and directs it to
read commands from a disk file named $DATA.SCF.STARTUP (if not specified, the
system name and volume name are the default names currently in use by the TACL
command interpreter through which the RUN command was entered):
19> SCF / IN $DATA.SCF.STARTUP /
If you run SCF from the TACL command interpreter without specifying an input file,
SCF assumes that the input is coming from your terminal.
Output Destinations
SCF can direct output to a disk file, an application process, a terminal, or a printer. The
initial output destination is determined by the form of the RUN command used to
initiate SCF. The output destination can be changed dynamically during an SCF
session.
Setting the Initial Output Destination
To specify an initial output destination for an SCF session, you use the OUT option of
the RUN command. You can specify a terminal (identified by its logical-device name), a
disk file, an application process, or a printer. For example, the following RUN command
initiates SCF and directs it to send its output to a disk file named
$DATA.SCF.DISPLAY (if not specified, the system name and volume name are the
default names currently in use by the TACL command interpreter through which the
RUN command was entered):
20> SCF / OUT $DATA.SCF.DISPLAY /
If you run SCF without specifying an output file, SCF assumes that the output is being
sent to your terminal.
Running SCF
You can start SCF interactively by using the TACL command interpreter RUN
command or by using a command file (or TACL macro or routine). The RUN command
that is used to start SCF is described in the TACL Reference Manual.
SCF usually resides in a file named $SYSTEM.SYSTEM.SCF.