VCLOSEBATCH [ HP Data Entry and Forms Management System (VPLUS/V) ] MPE/iX 5.0 Documentation
HP Data Entry and Forms Management System (VPLUS/V)
VCLOSEBATCH
Closes an open batch file.
Syntax
VCLOSEBATCH" {comarea}
Parameters
comarea Must be name of comarea specified in VOPENBATCH call
that opened this batch file. If not already set, the
following comarea items must be set before calling
VCLOSEBATCH:
cstatus Set to zero.
comarealen Set to total number of two -byte words
in comarea.
VCLOSEBATCH 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 batch file identified by comarea is closed when this intrinsic
is called. The batch file must be closed before VCLOSEFORMF is called.
Example
COBOL
CALL "VCLOSEBATCH" USING COMAREA.
BASIC
200 CALL VCLOSEBATCH(C(*))
FORTRAN
CALL VCLOSEBATCH(COMAREA)
SPL/PASCAL
VCLOSEBATCH(COMAREA);
MPE/iX 5.0 Documentation