Logic of a more complicated application program

Sample program 2 is a more typical example of a VTAM® application program than sample program 1.

Sample program 2 communicates with logical units (LUs) associated with 3600 Finance Communication System controllers and SNA PU type 1 3270 Information Display Systems controllers. Some LUs are associated with physical units (PUs) that are connected to VTAM by nonswitched remote lines through a communication controller that contains a network control program. Other LUs are associated with non-SNA 3270 terminals that are attached to VTAM through a channel. Additional information about communicating with 3270 terminals is given in Programming for the IBM 3270 Information Display System. Note that in this sample program all the 3270 terminals use LU type 0 protocols.