pub enum Cics<P = u32, O = Operand, S = u32> {
Show 35 variants
File {
verb: FileControl,
file: Option<Datum<P, O, S>>,
options: FileOptions<P, O, S>,
},
Return {
transid: Option<Datum<P, O, S>>,
commarea: Option<Datum<P, O, S>>,
length: Option<Datum<P, O, S>>,
channel: Option<Datum<P, O, S>>,
immediate: bool,
},
Link(Transfer<P, O, S>),
Xctl(Transfer<P, O, S>),
Abend {
abcode: Option<Datum<P, O, S>>,
cancel: bool,
},
HandleCondition(Vec<(Condition, Option<u32>)>),
IgnoreCondition(Vec<Condition>),
PushHandle,
PopHandle,
HandleAbend {
program: Option<Datum<P, O, S>>,
label: Option<u32>,
reset: bool,
},
HandleAid,
SendMap {
map: Option<Datum<P, O, S>>,
mapset: Option<Datum<P, O, S>>,
from: Option<Datum<P, O, S>>,
maponly: bool,
dataonly: bool,
cursor: Option<Datum<P, O, S>>,
control: Control,
},
ReceiveMap {
map: Option<Datum<P, O, S>>,
mapset: Option<Datum<P, O, S>>,
into: Option<Datum<P, O, S>>,
set: Option<Datum<P, O, S>>,
},
SendControl {
cursor: Option<Datum<P, O, S>>,
control: Control,
},
Receive(Record<P, O, S>),
Asktime {
abstime: Option<Datum<P, O, S>>,
},
Formattime {
abstime: Option<Datum<P, O, S>>,
datesep: Option<Datum<P, O, S>>,
timesep: Option<Datum<P, O, S>>,
outputs: Vec<(S, Datum<P, O, S>)>,
},
Assign(Assign<P, O, S>),
Getmain {
flength: Option<Datum<P, O, S>>,
length: Option<Datum<P, O, S>>,
initimg: Option<Datum<P, O, S>>,
set: Option<Datum<P, O, S>>,
},
Freemain,
Enq,
Deq,
Delay,
Syncpoint {
rollback: bool,
},
Address {
eib: Option<Datum<P, O, S>>,
commarea: Option<Datum<P, O, S>>,
cwa: Option<Datum<P, O, S>>,
twa: Option<Datum<P, O, S>>,
},
SendText {
from: Option<Datum<P, O, S>>,
length: Option<Datum<P, O, S>>,
},
WriteOperator {
text: Option<Datum<P, O, S>>,
textlength: Option<Datum<P, O, S>>,
},
WriteqTs {
queue: Option<Datum<P, O, S>>,
from: Option<Datum<P, O, S>>,
length: Option<Datum<P, O, S>>,
rewrite: bool,
item: Option<Datum<P, O, S>>,
numitems: Option<Datum<P, O, S>>,
},
ReadqTs {
queue: Option<Datum<P, O, S>>,
next: bool,
item: Option<Datum<P, O, S>>,
numitems: Option<Datum<P, O, S>>,
record: Record<P, O, S>,
},
DeleteqTs {
queue: Option<Datum<P, O, S>>,
},
WriteqTd {
queue: Option<Datum<P, O, S>>,
from: Option<Datum<P, O, S>>,
length: Option<Datum<P, O, S>>,
},
ReadqTd {
queue: Option<Datum<P, O, S>>,
record: Record<P, O, S>,
},
DeleteqTd {
queue: Option<Datum<P, O, S>>,
},
Unsupported,
Refused(S),
}Expand description
One variant per command ironwork carries out; any other is Unsupported.
Variants§
File
Return
CHANNEL and IMMEDIATE are kept only for the INVREQ they raise below the task’s first level.
Fields
Link(Transfer<P, O, S>)
Xctl(Transfer<P, O, S>)
Abend
HandleCondition(Vec<(Condition, Option<u32>)>)
Each condition with its paragraph, or None to remove its entry.
IgnoreCondition(Vec<Condition>)
PushHandle
PopHandle
HandleAbend
PROGRAM or LABEL sets the exit, RESET reactivates it, and with none of them it is CANCEL.
HandleAid
SendMap
Fields
ReceiveMap
Fields
SendControl
Receive(Record<P, O, S>)
Asktime
Formattime
outputs are the options that name a date or time form, in the order written.
Fields
Assign(Assign<P, O, S>)
Getmain
Fields
Freemain
Enq
Deq
Delay
Syncpoint
Settles the SQL session’s unit of work.
Address
Fields
SendText
WriteOperator
WriteqTs
Fields
ReadqTs
Fields
DeleteqTs
WriteqTd
ReadqTd
DeleteqTd
Unsupported
“EXEC CICS … is not supported yet”, naming the command, when reached.
Refused(S)
A block the walker refuses as it binds it (a HANDLE label that names no procedure, HANDLE ABEND with two of PROGRAM, LABEL, CANCEL and RESET): this IRONWORK abend, once the task check and the observer’s sinks have passed. Only lowering makes it.
Implementations§
Trait Implementations§
impl<P, O, S> Eq for Cics<P, O, S>
impl<P, O, S> StructuralPartialEq for Cics<P, O, S>
Auto Trait Implementations§
impl<P, O, S> Freeze for Cics<P, O, S>
impl<P, O, S> RefUnwindSafe for Cics<P, O, S>where
Option<Datum<P, O, S>>: RefUnwindSafe,
FileOptions<P, O, S>: RefUnwindSafe,
Transfer<P, O, S>: RefUnwindSafe,
Record<P, O, S>: RefUnwindSafe,
Vec<(S, Datum<P, O, S>)>: RefUnwindSafe,
Assign<P, O, S>: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, O, S> Send for Cics<P, O, S>
impl<P, O, S> Sync for Cics<P, O, S>
impl<P, O, S> Unpin for Cics<P, O, S>
impl<P, O, S> UnsafeUnpin for Cics<P, O, S>where
Option<Datum<P, O, S>>: UnsafeUnpin,
FileOptions<P, O, S>: UnsafeUnpin,
Transfer<P, O, S>: UnsafeUnpin,
Record<P, O, S>: UnsafeUnpin,
Vec<(S, Datum<P, O, S>)>: UnsafeUnpin,
Assign<P, O, S>: UnsafeUnpin,
S: UnsafeUnpin,
impl<P, O, S> UnwindSafe for Cics<P, O, S>where
Option<Datum<P, O, S>>: UnwindSafe,
FileOptions<P, O, S>: UnwindSafe,
Transfer<P, O, S>: UnwindSafe,
Record<P, O, S>: UnwindSafe,
Vec<(S, Datum<P, O, S>)>: UnwindSafe,
Assign<P, O, S>: UnwindSafe,
S: UnwindSafe,
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