pub struct FileDecl {Show 24 fields
pub name: String,
pub assign: String,
pub organization: Organization,
pub access: Access,
pub record_key: Option<Ref>,
pub alternate_keys: Vec<(Ref, bool)>,
pub relative_key: Option<Ref>,
pub optional: bool,
pub status: Option<Ref>,
pub vsam_status: Option<Ref>,
pub passwords: Vec<Ref>,
pub recording: Option<char>,
pub record_min: Option<u32>,
pub record_max: Option<u32>,
pub record_varying: bool,
pub record_depending: Option<Ref>,
pub records: Vec<DataEntry>,
pub reports: Vec<String>,
pub linage: Option<Linage>,
pub sort: bool,
pub external: bool,
pub global: bool,
pub declared_in: Option<String>,
pub pos: Pos,
}Fields§
§name: String§assign: StringThe DD name ASSIGN gives, with any UT-S- style prefix removed.
organization: Organization§access: Access§record_key: Option<Ref>§alternate_keys: Vec<(Ref, bool)>ALTERNATE RECORD KEY items, and whether each allows duplicates.
relative_key: Option<Ref>§optional: bool§status: Option<Ref>§vsam_status: Option<Ref>FILE STATUS’s second data-name, for a VSAM file: the return, function and feedback codes.
passwords: Vec<Ref>PASSWORD IS items, checked and of no effect, as files here have no passwords.
recording: Option<char>RECORDING MODE: F, V, U or S.
record_min: Option<u32>§record_max: Option<u32>§record_varying: boolRECORD IS VARYING: record_min and record_max are its FROM and TO, each None when not
written (Language Reference SC27-8713-03, p. 187).
record_depending: Option<Ref>RECORD IS VARYING … DEPENDING ON: the item holding each record’s length.
records: Vec<DataEntry>§reports: Vec<String>FD … REPORT IS: the reports written to the file.
linage: Option<Linage>FD … LINAGE: the logical page. An SD’s is read and dropped, as IBM ignores it.
sort: boolDescribed by SD: a sort or merge file, which needs no data set.
external: bool§global: bool§declared_in: Option<String>For a GLOBAL file of a program containing this one, that program’s PROGRAM-ID.
pos: Pos