Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

A.1.41 SMSIZE compile option

This option specifies the amount of memory used by PowerBSORT, in kilobytes.

Item

Description

Specified capacity of memory used by PowerBSORT

Specifies the amount of memory used by PowerBSORT, in kilobytes. The default is 0 KByte.

Note

  • If the PowerBSORT product is installed, this option is valid. If PowerBSORT is not installed, this option is ignored.

  • Specify this option to limit the memory space used by PowerBSORT, which is invoked by the SORT and MERGE statements. For details on whether a specified value is valid, see the online manual for PowerBSORT.

  • This option is equivalent to the values specified for the execution-time option smsize and the special register SORT-CORE-SIZE. If they are specified concurrently, the special register SORT-CORE-SIZE has highest priority, the execution-time option smsize has second priority, and the SMSIZE () compile option has third priority.

    Example

    • Special register

         MOVE 102400 TO SORT-CORE-SIZE

      (102400 = 100 kilobytes)

    • Compile option

        SMSIZE (500 KB)
    • Execution-time option

        smsize 300 KB

      In the above example, the value of 100 KB for the special register SORT-CORE-SIZE, which has top priority, is used.