HP 3000 Manuals

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


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

VCLOSETERM 

Closes an open terminal file.

Syntax 

     VCLOSETERM {comarea}

Parameters 

comarea          Must be comarea named when file was opened by VOPENTERM.
                 If not already set, the following comarea items must be
                 set before calling VCLOSETERM:

                 cstatus          Set to zero.

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

                 VCLOSETERM 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 terminal file opened with the specified comarea is closed when this
intrinsic is executed.  For terminals with this feature, the local forms
storage of the terminal is cleared.

Example 

COBOL

     CALL "VCLOSETERM" USING COMAREA.

BASIC

     200 CALL VCLOSETERM(C(*))

FORTRAN

     CALL VCLOSETERM(COMAREA)

SPL/PASCAL

     VCLOSETERM(COMAREA);



MPE/iX 5.0 Documentation