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);
terminalPF.setNextChannel(custData);
startrequest.issue(custData);