No, L from address 16 is correct.

There are other things you can get from
various system control blocks, for example
the DDNames in the TIOT (task IO table),
but all those activities start with the fullword at address 16.

Look here:

         L     R1,16                 CVT POINTER
         L     R1,0(R1)              TCB TABLE
         L     R1,4(R1)              OWN TCB
         L     R1,12(R1)             ADDRESS OF TIOT
         AHI   R1,24                 ADDRESS OF FIRST DDNAME
         LA    RF,0                  RETURN CODE
         SR    R0,R0
         LOOP  WHILE,(0(R1),NE,0)
         BREAK (4(8,R1),=,=CL8'SUCHDDN')
         IC    R0,0(R1)              LENGTH OF DD-ENTRY
         AR    R1,R0                 NEXT DD-ENTRY
         OUT   NOTFOUND
         LA    RF,4
         ELOOP

looks for DDName SUCHDDN in the Task-IO-Table.
Returns with zero in RF, if found, and 4, if not found.

Kind regards

Bernd



Am 18.11.2013 19:47, schrieb Tom Marchant:
On Mon, 18 Nov 2013 17:20:34 GMT, [email protected] wrote:

L     15,16           CVT - communication vector table
I don't have an answer to your questions, but I think you mean
     LA   15,16


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

Reply via email to