This is a very philosophical point of view, but:

the traditional EXEC PGM= parameter linkage can in fact be seen
as a special case of the traditional CALL/ATTACH/XCTL interface,
where the reg1 address list contains the address of only 1 parameter,
which is a character varying. Two more things, which are special about this
case of parameter transfer: the CHAR VAR is limited to 100 bytes (in the
traditional PARM= situation), and it is read-only.

I was always very impressed about this design, because the normal
linkage convention is kind of extended to cover this special case, too.

Of course, if the called program is PL/1, things get complicated again,
because PL/1 needs descriptors (called dope vectors in earlier releases),
so the PL/1 runtime has to cope with this. But for ASSEMBLER and other
languages, the PARM= interface works perfectly.

Kind regards

Bernd



Am 31.03.2013 16:54, schrieb Peter Relson:
You seem to be contradicting yourself here.  Or is there a (new?)
way for the initiator to run programs other than "the traditional
CALL/EXEC/ATTACH/XCTL interface", but transparent to the program
which is run?
I thought that by mentioning CALL, ATTACH, and XCTL"interface" you were
referring to the interface to the target routine,  where the "traditional"
parameter list format is register 1 pointing to a parameter list each
entry of which contained the address of a parameter
(or perhaps "argument" is the proper term here).

The "interface" to an EXEC PGM= target is not that "traditional" form, of
course.

The batch initiator does of course still use ATTACH for the jobstep
program.

Peter Relson
z/OS Core Technology Design

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



--
Bernd Oppolzer
---------------------------------------------------------------
*Oppolzer-Informatik
* Dipl. Inf. Bernd Oppolzer
Bärenhofstraße 23
70771 Leinfelden-Echterdingen
---------------------------------------------------------------
Tel.: +49 711 2272522
priv.: +49 711 7949590
eMail: [email protected] <mailto:[email protected]>
---------------------------------------------------------------
Für Umsatzsteuerzwecke:
SteuerNr.: 97 076 / 29921
USt-ID-Nr.: DE 147 700 393
---------------------------------------------------------------
Jubiläumsjahr 2013:
30 Jahre Oppolzer-Informatik


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to