HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
266 Chapter6
USING VPLUS INTRINSICS
INTRINSIC DESCRIPTIONS
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);