Receive TIE File (RCVTIEF)

The Receive Technical Information Exchange File (RCVTIEF) command allows you to receive files transmitted from the remote support network.

Parameters

Keyword Description Choices Notes
LIB Library Name, *LIBL, *CURLIB Required, Positional 1
TYPE File type *ALL, *OTHER, *SAVF Optional
OUTPUT Output *NONE, *PRINT Optional
MAXRCDS Maximum records Integer, 10000, *NOMAX Optional

Library (LIB)

Specifies the name and library where the files are stored.

This is a required parameter.

The possible library values are:

*LIBL
The library list is used to locate the database file.
*CURLIB
The current library for the job is used to locate the database file. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library where the database file is located.

File type (TYPE)

Specifies the types of files that are received.

*ALL
All available files are received.
*OTHER
Files with unspecified contents are received.
*SAVF
Save files are received.

Output (OUTPUT)

Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.

*NONE
The list of received files is not printed.
*PRINT
The output is printed with the job's spooled output.

Maximum records (MAXRCDS)

Specifies the maximum size (number of records) of any file that can be received. If one or more files exceeds the maximum size, no files are received.

10000
The maximum size of file that can be received is 10000 records.
*NOMAX
The system maximum of 500000 records is used.
number
Specify the maximum size (number of records) of file that can be received.

Examples

RCVTIEF   LIB(MAIL)  TYPE(*OPEN)  OUTPUT(*PRINT)  MAXRCDS(1000)

This command receives from TIE all OPEN files (any file except a save file). A list of the received files is printed. If any of the received files are larger than 1000 records, the RCVTIEF command fails. If all OPEN files are received successfully, they are removed from the mailbox.

Error messages

None