pub enum AbendCode {
Check(ProgramCheck),
Protection,
ModuleNotFound,
Io(FileStatus),
Cics(String),
User(String),
Ironwork,
Exec,
Sql,
SqlReplay,
Java,
Signal(Signal),
}Variants§
Check(ProgramCheck)
A program check nothing handled: S0C6 to S0CF.
Protection
S0C4: an address outside the run unit’s storage.
ModuleNotFound
S806: a CALLed program that is not in the library.
Io(FileStatus)
IO- and the status: a failing status with no FILE STATUS to hold it.
Cics(String)
A CICS transaction abend code: a condition’s default abend, ABCODE, ASRA.
User(String)
U and four decimal digits.
Ironwork
Exec
Sql
SqlReplay
A call the SQL recording does not hold.
Java
Signal(Signal)
Implementations§
Source§impl AbendCode
impl AbendCode
pub fn user(code: u16) -> Self
pub fn as_str(&self) -> &str
Sourcepub fn starts_with(&self, prefix: &str) -> bool
pub fn starts_with(&self, prefix: &str) -> bool
For SORT’s FASTSRT reader, which still tests the text.
Sourcepub fn zero_divisor(&self) -> bool
pub fn zero_divisor(&self) -> bool
The program check a zero divisor raises: decimal, fixed-point or HFP divide. An arithmetic statement with ON SIZE ERROR takes it as a size error instead.
Trait Implementations§
impl Eq for AbendCode
Source§impl From<&str> for AbendCode
The code that prints as text, for the SQL runtime and SORT, which still name theirs as text.
impl From<&str> for AbendCode
The code that prints as text, for the SQL runtime and SORT, which still name theirs as text.
impl StructuralPartialEq for AbendCode
Auto Trait Implementations§
impl Freeze for AbendCode
impl RefUnwindSafe for AbendCode
impl Send for AbendCode
impl Sync for AbendCode
impl Unpin for AbendCode
impl UnsafeUnpin for AbendCode
impl UnwindSafe for AbendCode
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