QUERY NAMEDEF

Read syntax diagramSkip visual syntax diagram Query NAMEDEF (STACKFIFOLIFOFIFOLIFO)

Authorization

General User

Purpose

Use the QUERY NAMEDEF command to display the current name definitions that were established with the CREATE NAMEDEF command. For more information, see CREATE NAMEDEF.

Responses

Namedef      Filename    Filetype    Filemode/Directory Name
namedef      -           -           dirname
namedef      fn          ft          -
namedef      -           -           fm
namedef      -           -           bfsid
 .           .           .           .
 .           .           .           .
Note: The header is generated only if output is displayed at the terminal.

Where:

namedef
is a temporary name associated with a:
  • File name and file type
  • Directory name
  • File mode letter
fn
is the file name associated with the name definition. If a dash is displayed, it means a directory name or file mode letter is associated with the name definition.
ft
is the file type associated with the name definition. If a dash is displayed, it means a directory name or file mode letter is associated with the name definition.
dirname
is the complete directory name associated with the name definition. If a dash is displayed, it means only a file name and file type are associated with the name definition.
fm
is the file mode letter associated with the name definition. If a dash is displayed, it means only the file name and file type are associated with the name definition.
bfsid
is the name of the byte file system associated with the name definition. If a dash is displayed, it means only a file name and file type are associated with the name definition.
If you have not specified any name definitions, you will get the following response:
No user defined NAMEDEF in effect

If no name definitions are in effect and the STACK, LIFO, or FIFO option was specified, the return code is set to 6, indicating no data was stacked.

Options

For more information on the Options, Usage Notes, and Error Messages that apply to all operands of the QUERY command, see QUERY.