Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Interactive subroutine

&pagelevel(4)&pagelevel

The entry point MAREN1DU is used for the interactive subroutine. This mode enables you to work with MARENADM in interactive mode in the same way as if you issued a START-MARENADM command.

MAREN1DU is called by means of the statement @PASS EXTNAME=MAREN1DU.

With the exception of the operand BATCH-PROCESSING=YES of the PRINT-VOLUME-ATTRIBUTES statement, the full range of MARENADM functions is available. The user program remains loaded. Control is returned to the user program after the MARENADM statement RETURN-TO-PROGRAM or END is issued or after abnormal termination of MARENADM.

No data transfer takes place between the calling user program and the MARENADM interactive subroutine. Only indirect data transfer is possible, e.g. using the following MARENADM statement you can create an output file which then serves as an input file in the user program.

//SHOW-VOLUME-ATTRIBUTES OUTPUT= &filename,...

When calling the subroutine, the usual register conventions must be observed:

Register 13:

This register contains the address of a save area which consists of 18 words and which must be made available by the calling user program. This area is used by MAREN1U to save the registers of the calling program.

Register 14:

This register contains the address of the re-entry point to the calling program.

Register 15:

This register contains the entry point address of MAREN1DU.

Return information is not required unless MAREN is terminated abnormally, as all results are displayed directly in the dialog.