pub struct FileDesc {Show 17 fields
pub name: SymId,
pub assign: SymId,
pub organization: Organization,
pub access: Access,
pub optional: bool,
pub format: Format,
pub read_lengths: (u32, u32),
pub fixed: bool,
pub record_min: Option<u32>,
pub depending: Option<RecordDepending>,
pub status: Option<(PlaceId, MovePlan)>,
pub keys: Option<IndexKeys>,
pub relative: Option<RelativeKey>,
pub linage: Option<Linage>,
pub carriage: Option<Carriage>,
pub sort: bool,
pub error: Option<RangeId>,
}Expand description
A file as SELECT and FD declare it. format is how its records are held when its DD does not
say; status is FILE STATUS with the MOVE its two characters take.
Fields§
§name: SymId§assign: SymIdThe DD name ASSIGN gives.
organization: Organization§access: Access§optional: bool§format: Format§read_lengths: (u32, u32)The shortest and longest variable-length record a READ takes without a record length conflict (status 04), as the VLR option measures them (Programming Guide SC27-8714-03, pp. 422-424).
fixed: boolNo RECORDING MODE V, and its smallest record as long as its largest.
record_min: Option<u32>The RECORD clause’s smallest record.
depending: Option<RecordDepending>§status: Option<(PlaceId, MovePlan)>§keys: Option<IndexKeys>An indexed file’s keys, as spans of its record area.
relative: Option<RelativeKey>§linage: Option<Linage>§carriage: Option<Carriage>A print file’s control character.
sort: boolDescribed by SD.
error: Option<RangeId>Its own EXCEPTION/ERROR procedure, which comes before one for its open mode.
Trait Implementations§
impl Eq for FileDesc
impl StructuralPartialEq for FileDesc
Auto Trait Implementations§
impl Freeze for FileDesc
impl RefUnwindSafe for FileDesc
impl Send for FileDesc
impl Sync for FileDesc
impl Unpin for FileDesc
impl UnsafeUnpin for FileDesc
impl UnwindSafe for FileDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more