7.2.2 Transactional Application Programming

The following listing is an example of a transactional VTAM program. The inclusion of the LU definition SYNCLVL=SYNCPT (shown in bold) makes the program transactional.

Note:

You must include the ATNLOSS=ALL parameter value whenever you use the SYNCLVL=SYNCPT definition.

Listing Sample VTAM LU Definition

MVSLU01 APPL         ACBNAME=MVSLU01,      ACBNAME FOR APPC      C
                     APPC=YES,                                   C
                     AUTOSES=0,                                  C
                     DDRAINL=NALOW,                              C
                     DLMOD=APPCHOST,                             C
                     DMWNL=5,                                    C
                     DMINWNR=5,                                  C
                     DRESPL=NALLOW,                              C
                     DSESLIM=10,                                 C
                     LMDENT=19,                                  C
                     MODETAB=APPCTAB,                            C
                     PARSESS=YES,                                C
                     SECACPT=CONV,                               C    
                     SRBEXIT=YES,                                C
                     SYNCLVL=SYNCPT,                             C 
                     ATNLOSS=ALL,                                C
                     VPACING=1