Passing a channel to another program or task

To pass a channel on a program-link or transfer program control (XCTL) call, use the link() and xctl() methods of the Program class, respectively:
programX.link(custData);

programY.xctl(custData);
To set the next channel on a program-return call, use the setNextChannel() method of the TerminalPrincipalFacility class:
terminalPF.setNextChannel(custData);
To pass a channel on a START request, use the issue method of the StartRequest class:
startrequest.issue(custData);