CALLINT

Use CALLINT to indicate the call interface convention applicable to calls made with the CALL statement, and to indicate whether argument descriptors are to be generated.

CALLINT option syntax

Read syntax diagramSkip visual syntax diagramCALLINT(SYSTEMOPTLINKCDECL,NODESCDESCDESCRIPTORNODESCRIPTOR)

Default is: CALLINT(SYSTEM,NODESC)

Abbreviations are: None

You can override this option for specific CALL statements by using the compiler directive >>CALLINT.

CALLINT has two sets of suboptions:

  • Selecting a call interface convention:
    SYSTEM
    The SYSTEM suboption specifies that the call convention is that of the standard system linkage convention of the platform.

    SYSTEM is the only call interface convention supported on Linux®.

    OPTLINK
    If you code the OPTLINK suboption, the compiler generates an I-level diagnostic message, and the entire directive (not just the first keyword) is ignored.
    CDECL
    If you code the CDECL suboption, the compiler generates an I-level diagnostic message, and the entire directive (not just the first keyword) is ignored.
  • Specifying whether the argument descriptors are to be generated:
    DESC
    The DESC suboption specifies that an argument descriptor is passed for each argument in a CALL statement. For more information about argument descriptors, see the Related references below.
    DESCRIPTOR
    The DESCRIPTOR suboption is synonymous with the DESC suboption.
    NODESC
    The NODESC suboption specifies that no argument descriptors are passed for any arguments in a CALL statement.
    NODESCRIPTOR
    The NODESCRIPTOR suboption is synonymous with the NODESC suboption.

Related references  
Compiler-directing statements