pub struct FileDesc {Show 14 fields
pub name: u32,
pub assign: u32,
pub organization: Organization,
pub access: Access,
pub optional: bool,
pub format: Format,
pub read_lengths: (u32, u32),
pub status: Option<(u32, MovePlan)>,
pub keys: Option<IndexKeys>,
pub relative: Option<RelativeKey>,
pub linage: Option<Linage>,
pub carriage: Option<Carriage>,
pub sort: bool,
pub error: Option<u32>,
}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: u32§assign: u32The 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).
status: Option<(u32, 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<u32>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