Browse Prior Art Database

Remote System Printer Identification

IP.com Disclosure Number: IPCOM000102507D
Original Publication Date: 1990-Nov-01
Included in the Prior Art Database: 2005-Mar-17
Document File: 3 page(s) / 111K

Publishing Venue

IBM

Related People

Jarrett, CA: AUTHOR [+2]

Abstract

Disclosed is a technique for passing the name of a printer from an Information Management System (IMS) application to a Customer Information Control System (CICS) system so that the IMS application can use CICS to control the printing.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Remote System Printer Identification

       Disclosed is a technique for passing the name of a
printer from an Information Management System (IMS) application to a
Customer Information Control System (CICS) system so that the IMS
application can use CICS to control the printing.

      IMS application programs currently cannot write directly to
some printers.  In particular the IBM 4224, when graphics or bar-code
print ing is desired, is such a printer.  Programs running under CICS
do not have this limitation.  A mechanism exists in both IMS and CICS
for setting up a software link between an IMS system and a CICS
system.  An IMS application may then send the data it wishes to print
across this link where it can be picked up by CICS programs and
routed to a printer.

      CICS knows the printer by a CICS Termid, which is not known to
IMS.  If the printer is known to IMS at all, it will be known by
an LTERM, which has no connection to the CICS Termid for the same
printer.  However, both CICS and IMS are aware of the Virtual
Telecommunications Access Method (VTAM*) nodename of the printer, if
the printer is defined to both.

      The technique for passing the printer name is to make use of
the common knowledge of the VTAM nodename.  The first step is to
define the printer to IMS, regardless of whether IMS will ever write
directly to the printer.  This gives the printer an LTERM.  The IMS
application program can obtain the VTAM nodename from the LTERM using
an IMS facility known as Automated Operator Interface (AOI).  AOI
allows the program to issue IMS operator commands via the CMD and
GCMD call functions.  By issuing a '/DISPLAY ASSIGNMENT LTERM lterm'
via AOI, the program obtains the VTAM nodename associated with the
'lterm'.  The program then attaches this name to the front of the
data being passed to CICS.

      When this data arrives on the CICS side, a CICS application
program pulls this nodename off the data to be printed and performs a
similar translation on it.  By issuing a 'CEMT INQUIRE
NETNAME(nodename)' command, the program is able to retrieve the CICS
Termid associated with the nodename and to start another program that
routes the IPDS data to that printer Termid.

      Use of this double translation eliminates the need to maintain
a table of CICS printer Termids in the IMS application.

      Program Flow:
       .   PCSLABEL
           The PCSLABEL program...