In
<caarmm9spihcfyncf90+zehetejvq1ciyvwucc6k_ijvk6oj...@mail.gmail.com>,
on 12/18/2014
at 10:00 PM, Tony Harminc <[email protected]> said:
>PL/I supported QTAM and later TCAM message queues as what a C or
>Java person might call "first class objects". Looked at another
>way, such a teleprocessing (sounds quaint now, doesn't it) file is
>a part of the PL/I language, but is not mapped to any sort of
>dataset or even DD statement.
Not even close. From GC28-0692-1, OS/VS2 JCL VS2 Release 3:
The QNAME Parameter--keyword, optional
The QNAME parameter allows you access to messages received
through TCAM for processing by an application program.
QNAME=process name
process name
specifies as eight alphameric or national haracters
the name of a TPROCESS macro instruction that
defines a destination queue for messages that are to be
processed by an application program. (The first character
must be alphabetic or national).
Rules for Coding
The process name must be identical to the symbolic name
on the TPROCESS macro.
The DCB parameter is the only parameter that can be
coded on a DO statement with the QNAME parameter.
BLKSIZE, BUFL, LRECL, OPTCD, and RECFM are the only
operands that can be specified as subparameters.
Example of the QNAME Parameter
//DYD DD QNAME=FIRST,DCB=(RECFM=F,LRECL=80,BLKSIZE=320)
This DO statement is used in an application program to
define data that will be used by TCAM. "FIRST" is the
name of the TPROCESS macro that specifies the destination
queue through which messages that must be processed by
the application program will be routed. The DCB parameter
will supply information that was not supplied in the DCB
macro instruction for the data control block.
SC33-0006-0, PL/I Optimizing Compiler Programmer's Guide, Chapter 8:
Defining Data Sets for Record Files, REGIONAL Data Sets,
Teleprocessing, p. 123, has sample JCL showing a DD statement for
TCAM.
The old OS/360 JCL and PL/1 (F) manuals have similar text for QTAM.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN