HP 3000 Manuals

VCLOSEFORMF [ HP Data Entry and Forms Management System (VPLUS/V) ] MPE/iX 5.0 Documentation


HP Data Entry and Forms Management System (VPLUS/V)

VCLOSEFORMF 

Closes an open forms file.

Syntax 

     VCLOSEFORMF {comarea} 

Parameters 

comarea          Must be comarea specified when forms file was opened
                 with VOPENFORMF. If not already set, the following
                 comarea items must be set before calling VCLOSEFORMF:

                 cstatus          Set to zero.

                 comarealen       Set to total number of two-byte words
                                  in comarea.

                 VCLOSEFORMF may set the following comarea items:

                 cstatus          Set to nonzero value if call
                                  unsuccessful.

                 filerrnum        Set to file error code if MPE file
                                  error.

Discussion 

The open forms file is closed when this intrinsic is executed.  Once
closed, the forms file is not available for further processing.

Example 

COBOL

     CALL "VCLOSEFORMF" USING COMAREA.

BASIC

     200 CALL VCLOSEFORMF(C(*))

FORTRAN

     CALL VCLOSEFORMF(COMAREA)

SPL/PASCAL

     VCLOSEFORMF(COMAREA);



MPE/iX 5.0 Documentation