TOFILE - UCOPY configuration option

Description

The TOFILE option specifies name of the output file that receives the specified concatenated input files.

Usage

Method

Syntax

IBM i

UNIX

Windows

z/OS

Command Line, Short Form

n/a





Command Line, Long Form

n/a





STRUCP Parameter

TOFILE( [library/ ] file )

(tick)




Values

file is the name of the output file receiving the input files.

Valid values for file are:

  • *stdout
    Output is written to standard output.
    • If executed from an interactive job, standard output is allocated to the terminal from which STRUCP is executed. The ILE session terminal is displayed to view the output.
    • If executed from a batch job, standard output is allocated to file QPRINT.
  • filename
    Output is written to the specified file name. If the file is not found, it is created as a physical source file with a record length of 266.

Default is *stdout.


library is optional name of a library with which file can be qualified.

Valid values for library are:

  • *libl
    File is located in the library list.
  • *curlib
    File is located in the current library.
  • library name
    File is located in the specified library.