AMT Help Files
Home Development Command Translation CICS Commands INQUIRE SYSTEM

INQUIRE SYSTEM

COBOL Java
EXEC CICS INQUIRE SYSTEM ibmCics.inquireSystem

Syntax

ibmCics.inquireSystem(new InquireSystemOptions()
  .jobName(<JobName>)
  [.cicsStatus(<CicsStatus>)]
  [.startUpdate(<StartUpdate>)]
  [.noHandle(true)]
);

Parameter(s)

<JobName>
Returns the application name of the program running this command.
<CicsStatus>
Returns the status of the CICS system, in AMT this will return the value for 'ACTIVE'.
<StartUpdate>
This option is currently not used in AMT.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.

Example(s)

COBOL Java
EXEC CICS
    INQUIRE SYSTEM
        JOBNAME (WS-JOB)
        CICSSTATUS (WS-STATUS)
        STARTUPDATE (WS-STARTUPDATE)
END-EXEC.
                
ibmCics.inquireSystem(new InquireSystemOptions()
  .jobName(locDef.ws_Job)
  .cicsStatus(locDef.ws_Status)
  .startUpdate(locDef.ws_Startupdate)
);
                

Contents

 Go to top