FILEDDINT

FILEDDINT returns a size_t value that is the value of attribute c for file x.

Read syntax diagramSkip visual syntax diagramFILEDDINT( x,c)
x
File reference.
c
Character string that holds the attribute to be queried.

When using FILEDDINT, the following are valid values for c:

blksize
bufsize
delay
filesize
keylen
keyloc
recsize
retry

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

FILEDDINT(x,'BLKSIZE') is valid only on z/OS. FILEDDINT(x,'BLKSIZE') will return the blocksize for a CONSECUTIVE file. It will return 0 for an zFS file and will return 0 for a VSAM file.

FILEDDINT(x,'FILESIZE') will, on z/OS, return a value of 0 except for zFS files.

FILEDDINT(x,'KEYLOC') and FILEDDINT(x,'KEYLEN') are valid only for VSAM KSDS files.