SIO_LOCAL_FILE - UCMD Manager configuration option

Description

The SIO_LOCAL_FILE option specifies the location, instead of the default location, to which standard file data should be written or from where it should be read.


IBM i

SIO_LOCAL_FILE specifies the local file to be used for the standard files of the STRUCM command. The STRUCM standard files are redirected to and from the standard files of the remote command.

UNIX

SIO_LOCAL_FILE specifies that the standard file data should be written to or read from the specified file name instead of the standard output, standard error, and standard input of UCMD Manager.
 
If no file name is provided, and the option is applied to standard input, it is treated as no standard input and a standard input end-of-file indicator is sent to the server immediately.

Windows

SIO_LOCAL_FILE specifies that the standard file data should be written to or read from the specified local file instead of the default file.

z/OS

SIO_LOCAL_FILE specifies that the standard file data should be written to or read from the specified ddname instead of the default ddnames.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Short Form

-F ddname or file


(tick)

(tick)

(tick)

Command Line, Long Form

-localfile ddname or file


(tick)

(tick)

(tick)

Environment Variable

n/a





Configuration File Keyword

n/a





STRUCM stdin Parameter

STRUCM stdout Parameter

STRUCM stderr Parameter

SINFILE(input_file) [SINMBR(member)]

SOTFILE(output_file) [SOTMBR(member)]

SERFILE(output_file) [SERMBR(member)]

(tick)




Values

IBM i

input_file is the file from where the data is read. Valid values for input_file are:

  • *NONE
    No standard input file is allocated to *stdin*. If the remote command attempts to read from *stdin*, it will receive an end\-of\-file indicator.
  • *TERM
    Standard input is allocated to the workstation for interactive jobs and to file *QINLINE* for batch jobs. If executed as an interactive job, an *ILE* session terminal is displayed from which input can be entered at the terminal.
  • file_name
    A file name to read as standard input. The file name can be qualified by a library name. If not, the library list *\*LIBL* is searched for the first occurrence of the file name. A member name can be used for further qualification by specifying the *SINMBR* parameter.


output_file is the file to which the data is read. Valid values for output_file are:

  • *TERM
    Standard output or error is allocated to the workstation for interactive jobs and to file QPRINT for batch jobs. If executed as an interactive job, an ILE session terminal is displayed from which output is viewed at the terminal.
  • file_name
    Standard output or error is written to a file. The file name can be qualified by a library name. If not, the library list *LIBL is searched for the first occurrence of the file name.
    If the file is not found, it is created as a physical source file with a record length of 266. If *LIBL is specified or implied, the file is created in QGPL.
    A member name can be used for further qualification by specifying the SOTMBR or SERMBR parameter.

UNIX

file is the file, instead of the default file, to which the data is written or from where it is read.

Windows

file is the file, instead of the default file, to which the data is written or from where it is read.

z/OS

ddname is the ddname, instead of the default ddname, to which the data is written or from where it is read.

Default


z/OS

Default values are:

  • UNVOUT for standard out
  • UNVERR for standard error
  • UNVIN for standard input