Display DL File Attributes (DSPDLFA)

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

The Display DataLink File Attributes (DSPDLFA) command can be used to display information about DataLink columns in a file.

Top

Parameters

Keyword Description Choices Notes
FILE File Qualified object name Required, Positional 1
Qualifier 1: File Name
Qualifier 2: Library Name, *LIBL, *CURLIB
FLD Field name Name, *ALL Optional, Positional 2
OUTPUT Output *, *PRINT Optional
Top

File (FILE)

Specifies the physical file for which you are showing DataLink attributes.

This is a required parameter.

Qualifier 1: File

name
Specify the name of the physical file.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched. All objects in these libraries with the specified object name are shown.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
*ALL
All libraries on the system are searched.
name
Specify the name of the library to be searched.
Top

Field name (FLD)

Specifies which DataLink field you want to display.

*ALL
All DataLink fields in the specified physical file are displayed.
name
Specify the name of the single field to be displayed.
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.

*
The output is displayed (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
*PRINT
The output is printed with the job's spooled output.
Top

Examples

DSPDLFA   FILE(ADMN/PERSONNEL)  FLD(*ALL)  OUTPUT(*PRINT)

This command prints a list of records for file PERSONNEL in the ADMN library. For all DataLink fields in the file with the attribute FILE LINK CONTROL, the listing will show whether the server connection can be established and if there are pending DataLink transactions not complete with the DataLink File Manager (DLFM) server.

Top

Error messages

*ESCAPE Messages

CPF32B9
DataLink function cannot be performed.
Top