These services apply to native OS/390 batch, TSO, ISPF, and CICS
To use GDDM services for printing QMF objects, you must:
Nicknames enable you to predefine complex print or display devices to simplify the work of your end users. Nicknames define device characteristics that indicate to GDDM how to format and distribute the report, and they can define both local and remote devices.
To use GDDM services for printing QMF objects, you must:
Nicknames enable you to predefine complex print or display devices to simplify the work of your end users. Nicknames define device characteristics that indicate to GDDM how to format and distribute the report, and they can define both local and remote devices.
Here is information on the data sets GDDM searches for.
In native OS/390 batch and TSO, when a user enters a printer name on the PRINTER keyword of the QMF PRINT command, GDDM first searches the ADMDEFS data set and then the defaults module, ADMADTC, for a matching nickname that defines how and where to direct the output.
In CICS, GDDM searches only the defaults module, ADMADTC. GDDM uses nicknames to recognize all the devices with which it can communicate (including terminals).
The printer nickname you use depends on the type of device:
This chapter explains how to define nicknames for Family 1, 2, and 3 devices. For more information on how to set up a nickname for a Family 4 printer and use the ADMOPUT and ADMOPUJ utilities, see the GDDM System Customization and Administration manual for GDDM or the appropriate GDDM Installation and System Management manual. These publications also provide more information on each type of GDDM device.
Here are the instructions to create nicknames on native OS/390, TSO, and CICS.
Add the nickname to your ddname ADMDEFS data set. GDDM looks at this data set first. If the nickname is not found, GDDM looks in the external default module, ADMADFT, in which you define a GDDM ADMMNICK specification.
To create a nickname in CICS, first define a GDDM ADMMNICK specification in the GDDM external default module ADMADFC. This specification indicates the device characteristics to GDDM, such as the number of lines per page the printer can handle, and how the printer is managed by CICS.
Use the format shown in Figure 111 for your ADMMNICK specification.
ADMMNICK NAME=nickname,TOFAM=family_type, DEVTOK=device_token(,TONAME=name)
TONAME is used only in CICS.
If you define the printer to CICS using CICS resource definition online (RDO) to update the CICS system definition (CSD) file, the TERMINAL attribute has the same value as TONAME.
A unique label can be added to the syntax. For example, GDDMPRT1 is a possible label for the nickname definition:
GDDMPRT1 ADMMNICK NAME=MYPRINT,TOFAM=3,DEVTOK=ADMKSYSP
To define the nickname GRAPHIC for a Family 1 or 2 GDDM printer, you might use an ADMMNICK specification similar to the one in Figure 112. This specification is for a Family 2 GDDM printer (use TOFAM=1 for a Family 1 GDDM printer). It uses the device token R87S, an example of a token for a remotely attached 3287 printer.
ADMMNICK NAME=GRAPHIC,TOFAM=2,DEVTOK=R87S,TONAME=GRAP
After you create your nickname in TSO, and native OS/390 batch, a temporary data set is created as a result of running the QMF PRINT command and specifying a nickname that already exists. This data set is userid.ADMPRINT.REQUEST.#nnnnn, where nnnnn is a sequence number. You can then print the data set using the ADMOPUT utility. You can also use the ADMOPUJ utility to write your print job to the JES spool.
If you use either of the GDDM print utilities (ADMOPUT or ADMOPUJ) to print QMF objects using GDDM nicknames, the QMF-supplied GDDM map groups must be made available to the GDDM print utility. The ADMGGMAP DD statement contains the name of the data set (QMF720.DSQMAPE) that holds the map groups:
//ADMGGMAP DD DSN=QMF720.DSQMAPE,DISP=SHR
Without this statement, any attempt to print a form on a Family 2 printer ends in an error. For more information on the GDDM print utilities, see the GDDM Installation and System Management manual if you are using GDDM Version 2 Release 3 or the GDDM System Customization and Administration manual if you're using GDDM Version 3 Release 1.
Important: In CICS, after you create the ADMMNICK specification, link the name with a physical device by updating the TCT. Make sure TONAME in the ADMMNICK specification and TRMIDNT in the TCT have matching values.
You can also use CICS RDO facilities to update the CSD online. If you define the printer this way, make sure the TERMINAL attribute in the CSD and TONAME in the ADMMNICK specification have matching values.
Use this information to define the nickname for a family 3 GDDM printer on native OS/390 batch and TSO.
To define the nickname 370PRINT for a Family 3 GDDM printer, you might use an ADMMNICK specification similar to the one in below.
ADMMNICK NAME=370PRINT,TOFAM=3,DEVTOK=R87S,TONAME=370P (CICS)
ADMMNICK NAME=370PRINT,TOFAM=3,DEVTOK=R87S (CMS)
After you create your nickname in TSO or native OS/390 batch , a ddname ADMLIST is created. You can then send the formatted file to the printer you have chosen.
To define the nickname 370PRINT for a Family 3 GDDM printer, you might use an ADMMNICK specification similar to the one in below.
ADMMNICK NAME=370PRINT,TOFAM=3,DEVTOK=R87S,TONAME=370P (CICS)
ADMMNICK NAME=370PRINT,TOFAM=3,DEVTOK=R87S (CMS)
After you create the ADMMNICK specification in CICS, link the name with a physical device by updating the DCT, as shown in the example in Figure 118. Make sure TONAME in the ADMMNICK specification and DESTID in the DCT have matching values.
To define the nickname 3900PRNT for a Family 4 GDDM printer, you might use an ADMMNICK specification similar to the one below.
ADMMNICK NAME=3900PRNT,TOFAM=4,DEVTOK=R87S
After you create your nickname, the ddname ADMIMAGE is created. You can spool the file to PSF/OS/390 automatically through JES if you have the CSPOOL processing option set. For more information about Family 4 printing, see theGDDM System Customization and Administration manual.
You can use a single nickname to define multiple printer addresses by including the wildcard ? in your nickname definition, like this:
ADMMNICK TOFAM=3,NAME=MYPRINT?,PROCOPT=((PRINTCTL,0))
The nickname MYPRINT? allows you to route print output to printers named MYPRINT1, MYPRINT2, MYPRINTA, and so on. For example, when you enter:
PRINT REPORT (PRINTER=MYPRINT2
GDDM uses the nickname definition for the MYPRINT? nickname to create a data set and direct the output from the PRINT command to the data set with ddname MYPRINT2.
This section shows examples of nicknames you might use for Family 1, 2, or 3 devices. For examples on defining nicknames for Family 4 devices, see the GDDM System Customization and Administration manual for GDDM or the GDDM Installation and System Management for OS/390 manual for GDDM.
GDDMPRT1 ADMMNICK TOFAM=3,DEVTOK=S3800N6,NAME=MYPRINT1
GDDMPRT2 ADMMNICK TOFAM=3,DEVTOK=S3800N8,NAME=MYPRINT2
GDDMPRT3 ADMMNICK TOFAM=3,DEVTOK=S1403W8,NAME=MYPRINT3
GDDMPRT4 ADMMNICK TOFAM=2,DEVTOK=R87,NAME=MYPRINT4
GDDMPRT5 ADMMNICK TOFAM=3,PROCOPT=((PRINTCLTL,)),NAME=MYPRINT5The PROCOPT parameter specifies processing options using a print control (PRINTCTL) keyword, which allows you to specify a number of print control options. For example, you can use PRINTCTL to specify a page heading to be printed, the number of copies to print, and the width of margins. The zero in this example suppresses page headings.
For a list of print control options and how to use them, see the GDDM System Customization and Administration manual.
GDDMPRT6 ADMMNICK TOFAM=1,FAM=0,NAME=PCPRINT,TONAME=*,ADMPCPRTwhere * indicates the user's current device or the default value.
To print to a workstation printer connected to DOS, GDDM-PCLK must be installed on your workstation.
Use this information to update the GDDM defaults module on native OS/390 batch, TSO, and CICS.
In TSO, and native OS/390 batch, the external defaults module is ADMADFT.
The default modules also contain default values for the GDDM product. The modules are stored as members of the SADMSAM data set.
To update the modules with your nickname specification:
For more information on the defaults modules, see the GDDM System Customization and Administration manual for GDDM or the GDDM Installation and System Management for OS/390 for GDDM manual.
In CICS, the ADMMNICK nickname specifications reside in the GDDM external defaults module ADMADFC, which is supplied with the GDDM product.
The default modules also contain default values for the GDDM product. The modules are stored as members of the SADMSAM data set.
To update the modules with your nickname specification:
For more information on the defaults modules, see the GDDM System Customization and Administration manual for GDDM or the GDDM Installation and System Management for OS/390 for GDDM manual.
Test your nickname definitions by placing them in an external default file and printing with them until you are satisfied they are working correctly. Then you can assemble them into external default modules. .
GDDM uses external default modules more efficiently than a data set to find a given nickname.
The decision to use external default files or modules affects a user's JCL, because an external default file requires a DD statement, while an external default module must be a member of a STEPLIB library. Your GDDM administrator can advise you on the JCL changes.
For TSO, and native OS/390 batch, the ddname of the nickname data set is ADMDEFS. You should allocate it when you start your QMF session. To add the ddname ADMDEFS to the user's logon procedure:
//ADMDEFS DD DSN=LOCAL.GDDM.NICKNAME,DISP=SHR
In CICS, the nicknames are incorporated into user default specifications and assembled into the external defaults module ADMADFC.
After you update the ADMADFC module, you need to update the CICS resource definitions so that CICS can link the nickname with a physical device it manages.
QMF supports the use of GDDM nicknames for reports and requires nicknames for printing QMF charts, forms, and prompted queries. If you have printers described to CICS using VTAM and TCT entries, you must describe the printer as queued (GDDM Family 2 device). When using a Family 2 device, your ADMMNICK specification for TONAME points to a CICS TCT entry, as opposed to a DCT entry for Family 3 devices.
For example, for this nickname specification:
ADMMNICK NAME=GRAPHIC,TOFAM=2,DEVTOK=R87S,TONAME=GRAP
you can update the CICS TCT using a macro similar to the example shown below.
GRAP DFHTCT TYPE=TERMINAL, ACCMETH=VTAM, TRMIDNT=GRAP, TRMTYPE=SCSPRT, . . . . . . . . .
In VSE, all Family 1 and 2 devices must be described to CICS as queued.
To use Family 3 devices, set up a GDDM nickname table as shown below.
GDDMPRT ADMMNICK TOFAM=3, FAMILY (SYSTEM PRINTER) X NAME=SYSPRT, PRINTER NAME (NICKNAME) X DEVTOK=S1403W6, DEVICE TOKEN (1403) X TONAME=SYSP TONAME MUST MATCH CICS DCT ENTRY
TheGDDM Installation and System Management for OS/390 manual for GDDM and the GDDM System Customization and Administration manual for GDDM describe the process of incorporating the nicknames into the user default specifications and assembling the user default specifications into external defaults module ADMADFC.
The TONAME parameter must have a matching entry in the CICS DCT as shown in Figure 118.
* THE GDDM NICKNAME IS SYSPRT AND THE * LONGEST RECORD THAT CAN BE PRINTED * IS 256. DFHDCT TYPE=SDSCI,DSCNAME=ADMSYSP, X RECFORM=VARBLK, X RECSIZE=260,BLKSIZE=6050,TYPEFLE=OUTPUT . . * ENTRY FOR GDDM NICKNAME SYSPRT SYSP DFHDCT TYPE=EXTRA,DESTID=SYSP,DSCNAME=ADMSYSP,RSL=1
You also need to add the ddname ADMSYSP to the CICS start-up JCL, as follows:
//ADMSYSP DD SYSOUT=A
Add the TYPE=SDSCI entry shown in Figure 118 after all other TYPE=SDSCI entries in the DCT. The device address (SYS097) corresponds to the printer, 04E, according to the assign statement in the startup JCL. If you use SYSLST, CICS STATS is part of your QMF report. Instead, use an alternate printer.
[ Previous Page | Next Page | Contents | Index ]