Previous Topic: EXTPRTn ParametersNext Topic: Use of ALL and SARO Modes


Sample Definitions

A sample program is provided in CVDEOPTN, member SARXPDSK. This sample prints a report to a dynamically allocated file.

The following list describes the requirements of the sample.

CA View ALL -- Primary Selection for ...db_hlq... ------ Command ===> define device

From the Device Definition Selection List panel, enter a "select" command; disk is used as a sample value. This value is used in the DEST reprint attribute. Any eight-character string can be selected:

CA View ALL -- Device Definition Selection List -------- Command ===> select disk Scroll ===> PAGE Device

Sel Synonym Type Real Device Name ****************** Bottom of Data *********************

Create a device with the selected name.

Define the type of 'external':

CA View ALL -- Device Definition Selection List -------- Command ===> Scroll ===> PAGE Device  Sel Synonym Type Real Device Name  DISK external  ****************** Bottom of Data *********************

Define a three character 'external print initialization' printer ID (the value DSK is used as an example, this value is used in one of three EXTPRTn initialization parameters. Use any 3 character value):

CA View ALL ---- External Print Device Attribute Panel --  Command ===>    Device Synonym ---> DISK    External Print Parameter ===> dsk  (Real Device Name)

This completes the external print device definition.

CA View ALL ---- Device Definition Selection List ----------  Command ===> Scroll ===> PAGE    Device  Sel Synonym Type Real Device Name  DISK EXTERNAL DSK  ****************** Bottom of Data *********************