Links are not active on this page.
 dbc_AfterCreateOffline Event

Occurs after CREATEOFFLINE( ) has completed. There are two versions of the syntax.

PROCEDURE dbc_AfterCreateOffline(cViewName, cPath) 
PROCEDURE dbc_AfterCreateOffline
LPARAMETERS cViewName, cPath

Parameters

cViewName

Specifies the name of the existing view being taken offline.

cPath

Specifies the directory in which the offline view has been placed.

Expand imageRemarks

You can use the dbc_AfterCreateOffline event to track access to the database after an offline view is created.

Expand imageExample

 CopyCode imageCopy Code
* Reports to the screen Event name, where it is called from and ;
* the parameter passed.
PROCEDURE dbc_AfterCreateOffline ;
         (cViewName,;
          cPath)
? '>>   ' + PROGRAM()
?? ' in ' + SUBSTR(SYS(16),RAT('\',SYS(16))+1)
? '     cViewName =  ' + TRANSFORM(cViewName) + ' - ' ;
                  + TYPE('cViewName')
? '     cPath     =  ' + TRANSFORM(cPath)     + ' - ' ;
                  + TYPE('cPath') + ' /end/ '
ENDPROC

Expand imageSee Also