Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

MODIFY-RUNTIME-PROPERTIES

&pagelevel(5)&pagelevel

Alias:         SET-RUNTIME-PROPERTIES

This statement can be used to influence runtime behavior when compiling the module containing the main function. When compiling other modules these settings have no effect.

MODIFY-RUNTIME-PROPERTIES

PARAMETER-PROMPTING= *UNCHANGED / *YES / *NO

,STACK-SIZE= 64 / *UNCHANGED / <integer 8..99999>

,STATISTIC-MESSAGES= *UNCHANGED / *CPU-TIME / *NONE

,PROGRAM-INTERRUPT= *UNCHANGED / *INTEGER-OVERFLOW / *NONE

,ENVIRONMENT-ENCODING= *UNCHANGED / *STD / *EBCDIC

PARAMETER-PROMPTING = *UNCHANGED / *YES / *NO
*YES: The executable program is to simulate the UNIX environment, in other words:

  • the program with parameters can be called using START-EXECUTABLE-PROGRAM, or

  • a parameter line should appear after the program is started to allow the input of parameters for the main function or redirection of stdin, stdout or stderr (see also section“Parameter input at program start”).

*NO: The executable program is started without the parameter line being requested.

If the program is started from the POSIX shell, the entries in the
PARAMETER-PROMPTING option will be meaningless, since
parameters are always entered from the command line in this case.

STACK-SIZE = 64 / *UNCHANGED / <integer 8..99999>
This option can be used to determine the amount of space to be reserved for the first segment of the C runtime stack.
64: The default value is 64 kilobytes.
<integer>: Between 8 and 99999 kilobytes of storage space can be reserved.

STATISTIC-MESSAGES = *UNCHANGED / *CPU-TIME / *NONE
When a program is terminated, the CPU time used is reported by default. This message can be suppressed by specifying *NONE.

PROGRAM-INTERRUPT = *UNCHANGED / *INTEGER-OVERFLOW / *NONE

This operand can be used to set the program mask when compiling programs that contain the main function

*INTEGER-OVERFLOW corresponds to the ILCS program mask X’0C’.

This option does not affect the selection of generated commands. The result is that permitting INTEGER-OVERFLOWs does not necessarily mean that an overflow is triggered in all cases.

*NONE corresponds to the program mask X’00’.

The effects of these two program masks are as follows:


INTEGER-OVERFLOW

NONE

fixed-point overflow

permitted

suppressed

decimal overflow

permitted

suppressed

exponent overflow

suppressed

suppressed

null mantissa

suppressed

suppressed

No changes in the ILCS program mask are permitted if mixed languages are used!

ENVIRONMENT-ENCODING = *UNCHANGED / *STD / *EBCDIC
These options controll the manner in which external strings (arguments of main and environment variables) are handled.
*STD is the default value. This causes the external strings to be coded in the manner specified in the MODIFY-SOURCE-PROPERTIES LITERAL-ENCODING option.
The *EBCDIC option is offered for reasons of compatibility and causes external strings to be coded in EBCDIC even when MODIFY-SOURCE-PROPERTIES=*ASCII or *ASCII-FULL is specified.