Previous Topic: EXTERNAL Printing–Dynamic Program Call InterfaceNext Topic: Sample Definitions


EXTPRTn Parameters

For the dynamic program call interface, the EXTPRTn initialization parameter has the format:

EXTPRTn=printer-id/PGM/program-name/parameter-data

Where

n

Is either 1, 2, or 3

printer–id

Specifies the 1- to 3-character identifier for the external print product

program–name

Specifies the 8-character name of the interface program

parameter–data

Specifies up to 14 characters of parameter data to be passed to the interface program

Example

Assume that you want to print to an external device using the dynamic program call interface. Also assume the following list of conditions:

Define the following initialization parameter:

EXTPRT2=ANA/PGM/ANAEP/NOBANNER

For the online print request, you would supply the following destination:

DEST ===> >ANA.INDEX

CA View dynamically loads and calls the program ANAEP. The parameter list to the program contains the addresses and lengths of the following: