FILEDDWORD

FILEDDWORD returns a character string that is the value of the attribute c for file x.
Read syntax diagramSkip visual syntax diagram
>>-FILEDDWORD(x,c)---------------------------------------------><

x
File reference.
c
Character string that holds the attribute to be queried.

When using FILEDDWORD, the following are valid options for c:

access
amthd
action
charset
filename
organization

putpage
recfm
share
type
typef

These options return the following values:

The ERROR condition with oncode 1010 is raised when the file is not open or the attribute is invalid for the file being queried.

FILEDDWORD(x,'RECFM') is valid only under z/OS.