Top
NetCOBOL V11.0 CBL Subroutines User's Guide
FUJITSU Software

11.28 CBL_INIT_SCR_ACCEPT_ATTR

This subroutine changes the mode whether the attributes of input field are initialized or no when ACCEPT statement is executed.

Specification

Parameter data definition
01 init-mode PIC 9(4) BINARY.
Calling format
CALL "CBL_INIT_SCR_ACCEPT_ATTR "
    USING init-mode
    RETURNING status-code.

Interface

Init-mode

Specify the following value.

  • 0: The attributes of input field are initialized when ACCEPT statement is executed. (Default mode)

  • 1: The attributes of input field are not initialized when ACCEPT statement is executed.

This mode is not changed until next this subroutine is called.

Return code

The return code is set in the status-code specified in the RETURNING clause.

status-code
  • 0: Successful

  • Other than 0: Failure