Create Logical Optical File (CRTLOFRDAR)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Create Logical Optical File (CRTLOFRDAR) command creates a logical optical file over a physical optical file. This allows you to define a different sequence for the records in the physical optical file , select some or all of the fields in the physical optical file, or to change the attributes of the fields in the physical file. The description for this logical file comes from the model file for this logical optical file.

Top

Parameters

Keyword Description Choices Notes
FILE Logical optical file Qualified object name Required, Positional 1
Qualifier 1: Logical optical file Name
Qualifier 2: Library Name, *CURLIB
PRPAUT Propagate authority *YES, *NO Optional
Top

Logical optical file (FILE)

Specifies the name of the logical optical file to create.

This is a required parameter.

Qualifier 1: Logical optical file

name
Specify the name of the logical optical file to be created.

Qualifier 2: Library

*CURLIB
The current library for the job is used to locate the logical optical file. If no library is specified as the current library for the job, QGPL is used.
name
Specify the name of the library where the logical optical file is located.
Top

Propagate authority (PRPAUT)

Specifies whether the authority from the model file should be propagated to the newly created logical optical file.

*YES
The authority associated with the model file is propagated to the logical optical file.
*NO
No authority is propagated to the logical optical file. Public authority is *EXCLUDE and the object is owned by the user profile or the group profile that issued this command.
Top

Examples

None
Top

Error messages

*ESCAPE Messages

RDR5404
Optical File &1 not created in Library &2.
Top