U@AUDITBEGIN

U@AUDITBEGIN sets the system and database manager in Transaction mode. It defines the start of a unit of work. This routine ensures that the database is up and active.

Module DATABASE
Input No input required.
Output No output returned.

Programming Example

     IF        F1@FC = 'A' 
               OR  F1@FC = 'C'                             
               OR  F1@FC = 'D'                             
     CALLP     U@AUDITBEGIN                      Audit Begin
     IF        E@DMSFLAG = 1                          
     RETURN                                        
     ENDIF                                            
     CALLP     S1@U410                            Update
     CALLP     U@AUDITEND                         Audit End
Note: The caller loses control if the routine finds an error. For example, if the database manager is unavailable, the program is unable to continue.