AMT Help Files
Home Development Command Translation CICS Commands START

START

COBOL Java
EXEC CICS START ibmCics.start

Syntax

ibmCics.start(new StartOptions() 
  .transId(<TransId>)
  [.termId(<TermId>)]
  [.from(<From>)]
  [.length(<Length>)]
  [.reqId(<ReqId*>)]
  [.time(<Time*>)]
  [.interval(<Interval*>)]
  [.afterHours(<AfterHours*>)]
  [.afterMinutes(<AfterMinutes*>)]
  [.afterSeconds(<AfterSeconds*>)]
  [.atHours(<AtHours*>)]
  [.atMinutes(<AtMinutes*>)]
  [.atSeconds(<AtSeconds*>)]
  [.sysId(<SysId>)]
  [.rtermId(<RtermId>)]
  [.rtransId(<RtransId>)]
  [.queue(<Queue>)]
  [.noHandle(true)]
  [.noCheck(true)]
);
Note: parameters indicated with an asterisk(*) are currently not implemented.

Parameter(s)

<TransId>
The transaction ID to be used.
<TermId>
The terminal ID to be used.
<From>
The data area containing the data to be sent.
<Length>
Length of the data area in the 'From' parameter.
<ReqId*>
The request ID to be used.
<Time*>
Time when the task should be started.
<Interval*>
Interval between the issue of the command and the start of the task.
<AfterHours*>
Start the task after this number of hours.
<AfterMinutes*>
Start the task after this number of minutes.
<AfterSeconds*>
Start the task after this number of seconds.
<AtHours*>
Start the task at this hour.
<AtMinutes*>
Start the task at this minute.
<AtSeconds*>
Start the task at this second.
<SysId>
The system ID to be used.
<RtermId>
Sets a terminal ID which can be retrieved.
<RtransId>
Sets a transaction ID which can be retrieved.
<Queue>
The queue name to be used.
<noHandle>
Optional boolean. If set to true, exceptions created by this command will be ignored.
<noCheck>
Optional boolean. If set to true, disables error checking.

Example(s)

COBOL Java
EXEC CICS
    START
        TRANSID('TRX6')
        FROM(WS-DATA)
        LENGTH(LENGTH OF WS-DATA)
        SYSID(WS-SYSID)
END-EXEC.
                
ibmCics.start(new StartOptions()
  .transId("TRX6")
  .from(locDef.ws_Data)
  .length(length(locDef.ws_Data))
  .sysId(locDef.ws_Sysid)
);
                

Contents

 Go to top