INQUIRE TASK
| COBOL |
Java |
| EXEC CICS INQUIRE TASK |
ibmCics.inquireTask |
Syntax
ibmCics.inquireTask(new InquireTaskOptions()
.eibTaskn(<Eibtaskn>)
[.attachTime(<AttachTime>)]
[.currentProg(<CurrentProg>)]
[.facilityType(<FacilityType>)]
[.program(<Program>)]
[.startcode(<Startcode>)
[.tranPriority(<TranPriority>)]
[.transaction(<Transaction>)]
[.userId(<UserId>)]
[.activity(<Activity>)]
[.activityId(<ActivityId>)]
[.brFacility(<BrFacility>)]
[.bridge(<Bridge>)]
[.cmdSec(<CmdSec>)]
[.db2Plan(<Db2Plan>)]
[.dTimeout(<DTimeout>)]
[.dumping(<Dumping>)]
[.facility(<Facility>)]
[.identifier(<Identifier>)]
[.inDoubt(<InDoubt>)]
[.inDoubtMins(<InDoubtMins>)]
[.inDoubtWait(<InDoubtWait>)]
[.isolateSt(<IsolateSt>)]
[.priority(<Priority>)]
[.process(<Process>)]
[.processType(<ProcessType>)]
[.profile(<Profile>)]
[.purgeability(<Purgeability>)]
[.remoteName(<RemoteName>)]
[.remoteSystem(<RemoteSystem>)]
[.resName(<ResName>)]
[.resSec(<ResSec>)]
[.routing(<Routing>)]
[.rTimeout(<RTimeout>)]
[.runaway(<Runaway>)]
[.runStatus(<RunStatus>)]
[.scrnSize(<ScrnSize>)]
[.storageClear(<StorageClear>)]
[.suspendTime(<SuspendTime>)]
[.suspendType(<SuspendType>)]
[.taskDataKey(<TaskDataKey>)]
[.taskDataLoc(<TaskDataLoc>)]
[.tcb(<Tcb>)]
[.tracing(<Tracing>)]
[.tranClass(<TranClass>)]
[.trProf(<TrProf>)]
[.twaSize(<TwaSize>)]
[.uow(<Uow>)]
[.noHandle(true)]
);
Parameters
- <Eibtaskn>
- The task number to inquire.
- <AttachTime>
- Returns the absolute time at which the task was attached/started.
- <CurrentProg>
- Returns the name of the current program.
- <FacilityType>
- Returns the CVDA value of the facility type that initiated the task.
- <Program>
- Returns the name of the initial program executed by the task.
- <Startcode>
- Returns the start code of the task.
- <Transaction>
- Returns the transaction code associated with the task.
- <UserId>
- Returns the user ID associated with the task.
- <Activity>
- Not currently used in AMT, returns an empty string.
- <ActivityId>
- Not currently used in AMT, returns 0.
- <BrFacility>
- Not currently used in AMT, returns an empty string.
- <Bridge>
- Not currently used in AMT, returns an empty string.
- <CmdSec>
- Not currently used in AMT, returns an empty string.
- <Db2Plan>
- Not currently used in AMT, returns an empty string.
- <DTimeout>
- Not currently used in AMT, returns 0.
- <Dumping>
- Not currently used in AMT, returns an empty string.
- <Facility>
- Not currently used in AMT, returns an empty string.
- <Identifier>
- Not currently used in AMT, returns an empty string.
- <InDoubt>
- Not currently used in AMT, returns an empty string.
- <InDoubtMins>
- Not currently used in AMT, returns 0.
- <InDoubtWait>
- Not currently used in AMT, returns an empty string.
- <IsolateSt>
- Not currently used in AMT, returns an empty string.
- <Priority>
- Not currently used in AMT, returns 0.
- <Process>
- Not currently used in AMT, returns an empty string.
- <ProcessType>
- Not currently used in AMT, returns an empty string.
- <Profile>
- Not currently used in AMT, returns an empty string.
- <Purgeability>
- Not currently used in AMT, returns an empty string.
- <RemoteName>
- Not currently used in AMT, returns an empty string.
- <RemoteSystem>
- Not currently used in AMT, returns an empty string.
- <ResName>
- Not currently used in AMT, returns an empty string.
- <ResSec>
- Not currently used in AMT, returns an empty string.
- <Routing>
- Not currently used in AMT, returns an empty string.
- <RTimeout>
- Not currently used in AMT, returns 0.
- <Runaway>
- Not currently used in AMT, returns 0.
- <RunStatus>
- Not currently used in AMT, returns an empty string.
- <ScrnSize>
- Not currently used in AMT, returns an empty string.
- <StorageClear>
- Not currently used in AMT, returns an empty string.
- <SuspendTime>
- Not currently used in AMT, returns 0.
- <SuspendType>
- Not currently used in AMT, returns an empty string.
- <TaskDataKey>
- Not currently used in AMT, returns an empty string.
- <TaskDataLoc>
- Not currently used in AMT, returns an empty string.
- <Tcb>
- Not currently used in AMT, returns an empty string.
- <Tracing>
- Not currently used in AMT, returns an empty string.
- <TranClass>
- Not currently used in AMT, returns an empty string.
- <TranPriority>
- Not currently used in AMT, returns 0.
- <TrProf>
- Not currently used in AMT, returns an empty string.
- <TwaSize>
- Not currently used in AMT, returns 0.
- <Uow>
- Not currently used in AMT, returns an empty string.
- noHandle
- Optional Boolean. If set to true, exceptions created by this command will be ignored.
Examples
| COBOL |
Java |
EXEC CICS
INQUIRE TASK (WS-TASK)
STARTCODE (WS-STARTCODE)
END-EXEC.
|
ibmCics.inquireTask(new InquireTaskOptions()
.eibtaskn(locDef.ws_Task)
.startcode(locDef.ws_Startcode)
);
|