Current channel: START, RUN TRANSID and RETURN commands

As well as the LINK and XCTL commands, you can pass channels on the START , RUN TRANSID and RETURN commands.

EXEC CICS® START TRANSID( tranid ) CHANNEL( channel-name )
The program that implements the started transaction (or the first program, if there are more than one) is passed the channel, which becomes its current channel.
Note: All EXEC CICS START requests that specify a channel cannot be deferred by specifying INTERVAL, AT, FOR or UNTIL as this is not supported. This is monitored by the CICS translator but not by JCICS. Using these commands to defer an EXEC CICS START request can result in a translator failure.
EXEC CICS RETURN TRANSID( tranid ) CHANNEL( channel-name )
The CHANNEL option is valid only:
  • On pseudoconversational RETURNs—that is, on RETURN commands that specify, on the TRANSID option, the next transaction to be run at the user terminal.
  • If issued by a program at the highest logical level—that is, a program that returns control to CICS.

The program that implements the next transaction is passed the channel, which becomes its current channel.



dfhp3_ch_cur_other.html | Timestamp icon Last updated: Monday, 5 June 2017