Skip to main content

Cics

Enum Cics 

Source
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

Fields

§file: Option<Datum<P, O, S>>
§options: FileOptions<P, O, S>
§

Return

CHANNEL and IMMEDIATE are kept only for the INVREQ they raise below the task’s first level.

Fields

§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
§

Xctl(Transfer<P, O, S>)

§

Abend

Fields

§abcode: Option<Datum<P, O, S>>
§cancel: bool
§

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.

Fields

§program: Option<Datum<P, O, S>>
§label: Option<u32>
§reset: bool
§

HandleAid

§

SendMap

Fields

§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

Fields

§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

Fields

§cursor: Option<Datum<P, O, S>>
§control: Control
§

Receive(Record<P, O, S>)

§

Asktime

Fields

§abstime: Option<Datum<P, O, S>>
§

Formattime

outputs are the options that name a date or time form, in the order written.

Fields

§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

Fields

§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

Settles the SQL session’s unit of work.

Fields

§rollback: bool
§

Address

Fields

§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

Fields

§from: Option<Datum<P, O, S>>
§length: Option<Datum<P, O, S>>
§

WriteOperator

Fields

§text: Option<Datum<P, O, S>>
§textlength: Option<Datum<P, O, S>>
§

WriteqTs

Fields

§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

Fields

§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

Fields

§queue: Option<Datum<P, O, S>>
§

WriteqTd

Fields

§queue: Option<Datum<P, O, S>>
§from: Option<Datum<P, O, S>>
§length: Option<Datum<P, O, S>>
§

ReadqTd

Fields

§queue: Option<Datum<P, O, S>>
§record: Record<P, O, S>
§

DeleteqTd

Fields

§queue: Option<Datum<P, O, S>>
§

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§

Source§

impl<P, O, S> Cics<P, O, S>

Source

pub fn name(&self) -> &'static str

The variant’s name, as the command it carries out is spelt.

Source§

impl<P, O, S> Cics<P, O, S>

Source

pub fn labels(&self) -> Vec<u32>

The paragraphs HANDLE CONDITION and HANDLE ABEND name.

Trait Implementations§

Source§

impl<P, O, S> Clone for Cics<P, O, S>
where P: Clone, O: Clone, S: Clone,

Source§

fn clone(&self) -> Cics<P, O, S>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<P, O, S> Debug for Cics<P, O, S>
where P: Debug, O: Debug, S: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Decode for Cics

Source§

impl Encode for Cics

Source§

fn encode(&self, w: &mut Writer)

Source§

impl<P, O, S> Eq for Cics<P, O, S>
where P: Eq, O: Eq, S: Eq,

Source§

impl<P, O, S> PartialEq for Cics<P, O, S>
where P: PartialEq, O: PartialEq, S: PartialEq,

Source§

fn eq(&self, other: &Cics<P, O, S>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<P, O, S> StructuralPartialEq for Cics<P, O, S>
where P: PartialEq, O: PartialEq, S: PartialEq,

Auto Trait Implementations§

§

impl<P, O, S> Freeze for Cics<P, O, S>
where Option<Datum<P, O, S>>: Freeze, FileOptions<P, O, S>: Freeze, Transfer<P, O, S>: Freeze, Record<P, O, S>: Freeze, Vec<(S, Datum<P, O, S>)>: Freeze, Assign<P, O, S>: Freeze, S: Freeze,

§

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>
where Option<Datum<P, O, S>>: Send, FileOptions<P, O, S>: Send, Transfer<P, O, S>: Send, Record<P, O, S>: Send, Vec<(S, Datum<P, O, S>)>: Send, Assign<P, O, S>: Send, S: Send,

§

impl<P, O, S> Sync for Cics<P, O, S>
where Option<Datum<P, O, S>>: Sync, FileOptions<P, O, S>: Sync, Transfer<P, O, S>: Sync, Record<P, O, S>: Sync, Vec<(S, Datum<P, O, S>)>: Sync, Assign<P, O, S>: Sync, S: Sync,

§

impl<P, O, S> Unpin for Cics<P, O, S>
where Option<Datum<P, O, S>>: Unpin, FileOptions<P, O, S>: Unpin, Transfer<P, O, S>: Unpin, Record<P, O, S>: Unpin, Vec<(S, Datum<P, O, S>)>: Unpin, Assign<P, O, S>: Unpin, S: Unpin,

§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.