Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Interface between SDF and high-level languages

&pagelevel(3)&pagelevel

As of Version 3, SDF incorporates an interface for high-level languages (HLLs) such as COBOL, FORTRAN and C. This interface makes it possible to access SDF macros from within HLL programs, without writing Assembler programs for calling the SDF macros.

Figure 15 is a block diagram illustrating the HLL interface.

Figure 15: Interface between SDF and high-level languages


The following SDF macros are supported by the HLL interface:

  • macros for processing statements (RDSTMT, CORSTMT, TRSTMT)
  • the macro for calling a system command (CMD)
  • the macro for setting the command return code (CMDRC)
  • the macro for outputting information about activated syntax files (CMDSTA).

The interface to higher programming languages only supports the standardized transfer area in the old format. The new format can only be used via the Assembler interface!