Previous Topic Next topic Print topic


Using the Correct Calling Convention

In this COBOL system, XML Extensions uses the standard COBOL calling convention. If your programs are also using the standard library routines, implemented for RM/COBOL compatibility, you need to be aware that these are called using the 1024 calling convention.

Solution:

If you set the DIALECT"RM" Compiler directive, the correct calling convention will be enabled for all entry points and CALL statements, for use of the standard library routines. If this is set, you must explicitly use the standard COBOL calling convention for your XML Extensions calls.

If you do not set the DIALECT"RM" Compiler directive, the correct calling convention will be enabled for all entry points and CALL statements, for use of XML Extensions. If this is not set, you must explicitly use the 1024 calling convention for the standard library routine calls.

Previous Topic Next topic Print topic