Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Setting test points

&pagelevel(4)&pagelevel

  • Paragraphs and sections of the contained program in which the interrupt point lies can be referenced without qualification.

  • Sections and paragraphs in a different program, which may also lie in a different compilation unit, are accessed via the S and PROC qualification:

    %INSERT [S=program-id.]PROC=program-id-contained.paragraph [IN section]

  • The S qualification must be specified whenever the test point is to be set in a different, separately compiled program.

  • A test point at the start of the Procedure Division of the outermost containing program can be set by means of a PROG qualification:

    %INSERT PROG=program-id.program-id

    or written out in full:

    %INSERT S=program-id.PROC=program-id.program-id

    This method is only meaningful if the program-id does not exceed 8 characters or if an LLM was generated, since otherwise the source name, but not the procedure name, would be truncated to 8 characters.

  • It is not possible to set a test point at the start of a contained program by using a PROG qualification, since S and PROC are different. This can, however, be achieved as follows:

    %INSERT [S=program-id.]PROC=program-id-contained.program-id-contained

  • Names that are unique in the current compilation unit can also be addressed without any qualification.