How to initialize another transaction? Give a code snippet in CICS to do this.

How to initialize another transaction? Give a code snippet in CICS to do this.



- A transaction is initiated to retrieve the information that belongs to which transaction has initiated it.

- And a transaction is initiated from a particular terminal.
Following is the code snippet in CICS is to specify incoming transaction.
EXEC CICS START
INTERVAL(hhmmss) or TIME(hhmmss)
TRANSID('TRAN')
TERMID('TRM1)
FROM(data-area)
LENGTH(data-value)
RTRANSID(EIBTRNID)
RTERMID(EIBTRMID)
END-EXEC
Following is the code snippet that initiates and receives another transaction.

EXEC CICS RETRIEVE
INTO(data-area)
LENGTH(data-value)
RTRANSID(data-name)
RTERMID(data-name)
END-EXEC
Post your comment