$ZFILEattributes()

Examples of $ZFILEATTRIBUTES()

The $ZFILEATTRIBUTES function returns an item of information about a specified file. The $ZFILEATTRIBUTES function is analogous to the DCL Lexical function F$FILE_ATTRIBUTES.

The format for the $ZFILEATTRIBUTES function is:

    $ZFILE[ATTRIBUTES](expr1,expr2)
    

$ZFILEATTRIBUTES() provides a tool for examining the RMS characteristics of a file from GT.M.

$ZFILEATTRIBUTES() Item Keywords  

ITEM KEYWORD

$ZFILEATTRIBUTES() DATA REQUIRED

ALQ

BDT

BKS

BLS

CBT

Allocation quantity

Backup date/time

Bucket size

Block size

1 if contiguous-best-try, 0 otherwise

CDT

CTG

DEQ

DID

DVI

Creation date/time

1 if contiguous, 0 otherwise

Default extension quantity

Directory identification

Device name

EDT

EOF

FID

FSZ

GRP

Expiration date/time

One less than the number of blocks used

File identification

Fized control area size

Owner group number

MBM

MRN

MRS

NOA

NOK

Owner member number

Maximum record number

Maximum record size

Number of areas

Number of keys

ORG

PRO

PVN

RAT

RCK

File organization (SEq, REL, IDX)

File protection

Prologue version number

Record attributes (CR, PRN, FTN)

1 if read check, 0 otherwise

RDT

RFM

RVN

UIC

WCK

Revision date/time

Record format (VAR, FIX, VFC, UDF)

Revision number

Owner UIC

1 if write check, 0 otherwise