Receive TIE File (RCVTIEF)

Where allowed to run:
  • Batch job (*BATCH)
  • Batch program (*BPGM)
  • Batch REXX procedure (*BREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

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

Top

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
Top

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.
Top

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.
Top

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.
Top

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.
Top

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.

Top

Error messages

None

Top