RDEVICE Statement (Impact Printers)

Read syntax diagramSkip visual syntax diagram RDEVice rdevrdev- rdevEQideqidNOEQid TYpe IMPact_printer32033211NO_SPOOLingAFPYesAFPNoCHARSucsnameCLassesACLassesclassesDESTOFFDEST*DESTdest1FCBfcbnameFOLDupNoFOLDupYesFOrmSTANDARDFOrmformIMAGE_LIBraryimagelibINDex1INDexnnLIMitNoneLIMitnnnnnnnnnnSEParatorYesSEParatorNoUNIVERSAL_CHARsetNoUNIVERSAL_CHARsetYes
Notes:
  • 1 You cannot specify more than four output destinations.

Purpose

Use this RDEVICE statement to define the following system-managed, channel-attached impact printers to CP:

  • 3203 (Only the 3203 Model 5 is supported.)
  • 3211 (3211 printers are only supported as emulated by other printers.)
  • 3262
  • 4245
  • 4248
  • 6262

Operands

rdev
rdev-rdev
is the real device number (or numbers) of the impact printer that you want defined. The maximum number of devices allowed within a range is 256. Each rdev must be a hexadecimal number between X'0000' and X'FFFF'.
EQid eqid
assigns the device equivalency ID (EQID) eqid to the RDEV. The eqid is a string of 1–8 alphanumeric characters. Note that for CTCA, FCP, HiperSocket, and OSA devices, this EQID must be unique or be shared only by other devices of the same type. For all other devices, the EQID must be unique across all devices on the system.
NOEQid
removes a previously assigned EQID from this RDEV. After the device is varied online, it reverts back to a system-generated EQID.
TYpe IMPact_printer
TYpe 3202
TYpe 3211
tells CP that the real device (or devices) that you are defining is one of the impact printers listed above.
NO_SPOOLing
tells CP not to use the impact printer for spooling.
AFP Yes
(the default) tells CP that the impact printer can process files with advanced function printer (AFP) characteristics, XABs, or X'5A' CCWs.
AFP No
tells CP that the impact printer cannot process files with advanced function printer (AFP) characteristics, XABs, or X'5A' CCWs.
CHARS ucsname
For a printer with the UNIVERSAL_CHARSET feature, CHARS ucsname specifies the 1- to 4-character suffix of the name of the default universal character set (UCS) buffer image. The variable ucsname must correspond to one of the UCS images stored in the image library. For example, if you specify:
  Rdevice 0003 Type 3203 Chars an
The image library must contain a member named 3203AN.
CLasses classes
defines the output spooling class or classes that the impact printer can print. Each class is 1 alphanumeric character and you can specify up to 8 classes. If you specify more than one class, do not include any blanks between the classes (for example, CLASSES ABC). If omitted, the default is A. If specified as an asterisk (*), the printer can process any file, regardless of class.

To change the spooling classes without having to re-IPL, use the CP START UR command. For more information, see START UR.

DEST OFF
DEST *
DEST dest
specifies the output destination values the printer can print. Specify DEST in one of the following ways:
  • By default — if you omit the DEST operand, DEST OFF is assumed.
  • You can specify as many as four destination values by entering four different DEST operands, as follows:
      Dest printer1 Dest printer2 Dest printer3 Dest printer4
  • DEST * specifies that the printer should process files regardless of destination.

To change the spooling destinations without having to re-IPL, use the CP START UR command. For more information, see START UR.

FCB fcbname
specifies the 1- to 4-character alphanumeric suffix of the name of the default forms control buffer (FCB) CP should use after a cold start or force start. This must correspond to one of the FCB images added to an image library. For example, if you specify:
  Rdevice 0003 Type 3203 FCB fcb8
The image library must contain a member named 3203FCB8.
FOLDup No
(the default) tells CP not to fold (translate) lowercase into uppercase.
FOLDup Yes
tells CP to fold (translate) lowercase into uppercase.
FOrm STANDARD
FOrm form
is the current spooling form number that the printer can process. This form is the default operator form for the real printer when the operator starts the device after a cold start without specifying a form. Specify FORM in one of the following ways:
  • FORM form (form is a 1- to 8-character operator form number for the files the printer can process)
  • FORM * indicates that the printer can process files regardless of form number
  • FORM STANDARD indicates that the type of paper to be mounted on the printer is the type of paper that the installation has assigned the name STANDARD. Each installation establishes its own set of form names, assigns those form names to types of paper, and informs the operations staff and end users of the correlation between form names and types of paper.

If omitted, the default is STANDARD.

IMAGE_LIBrary imagelib
tells CP which image library to use after a cold start. If omitted, the default is IMAGE_LIBRARY nnnn (nnnn is the device type number).
INDex nn
specifies the position at which to start printing. The variable nn is a decimal number from 1 to 31. If omitted, the default is 1.
Note: The INDEX operand is only valid for 3211 printers. If you specify it for another impact printer, CP ignores the operand.
LIMit None
(the default) tells CP that this impact printer can print files with an unlimited number of records.
LIMit nnnnnnnnnn
tells CP that this impact printer limits the size of files it can print. The variable nnnnnnnnnn is a 1- to 10-digit decimal number that indicates the maximum number of records per file that this printer can print.
SEParator Yes
(the default) tells CP to print separator pages between output files.
SEParator No
tells CP not to print separator pages between output files.
UNIVERSAL_CHARset No
(the default) tells CP that this impact printer is not a universal character set printer.
UNIVERSAL_CHARset Yes
tells CP that this impact printer is a universal character set printer.
Note: Although UNIVERSAL_CHARset Yes is accepted for TYpe IMPact printer, it is only meaningful for TYpe 3203 and TYpe 3211 printers.

Usage Notes

  1. If the specified EQID has already been assigned to one or more other devices, CP will issue the following message:
    HCP048E
    Specified EQID already assigned to a different device.
  2. If the issued command attempts to assign an EQID to multiple devices and the input device type requires each device to have a unique EQID, CP will issue the following message:
    HCP048E
    EQID must be unique for the specified device class.

Examples

  1. To define a 3203 printer at device number 0110 that prints only class A spool files (the default value), use the following RDEVICE statement:
      Rdevice  0110  Type  Impact_Printer
  2. To define a 3262 printer at device number 0110 that will be dedicated to a guest, use the following RDEVICE statement:
      Rdevice  0110  Type  Impact_Printer  No_Spooling
  3. To define an impact printer at device number:
    • E0E that can print class 1, process standard forms, and use the normal output destination, forms control buffer FCB8, and image library 4245IMAG
    • 00E that can print class A files, use forms control buffer FCB8, and process FORM8 forms
    • 01E that can print class A files, use forms control buffer FCB8, and process FORM1 forms
    use the following RDEVICE statements:
      Rdevice  e0e  Type  Impact_Printer,
                    Class 1,
                    Dest normal,
                    FCB fcb8,
                    Image_Library 4245IMAG,
                    Form standard
     
      Rdevice  00e  Type 3203,
                    Class a,
                    FCB fcb8,
                    Form form8
     
      Rdevice  01e  Type 3211,             /* 4248 printer running in 3211 */
                    Class a,               /* compatibility mode           */
                    FCB fcb8,
                    Form form1