Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Calling PERCON as a subprogram

&pagelevel(2)&pagelevel

PERCON can be called as a subprogram. The following entry points are offered:

  • PERCONU
    A small object module (PCROOT) is linked to the main program. This object module dynamically loads the prelinked module PCNSR9 from object module library $.SYSLNK.PERCON.030.

  • PCNSR9 (=PCNSR7,PCNSR)
    The LLM PERCON is linked permanently to the calling program.

The entry point PCNSR9 should only be used if it is necessary to link in PERCON in entirety.

The statements can be either read from SYSDTA, or transferred from the main program.

Note

PERCON operates on the basis of the SPL runtime system. Here a stack is created with the name PCNSRSTK. This name is entered into the linkage editor and loader structure and therefore cannot be used by main programs.

Assignment of object module library $.SYSLNK.PERCON.030

External references are resolved after calling the binder BINDER via INCLUDE-MODULES.

For further information needed for the linkage of a program see the manual [5] "BINDER".