On Fri, 24 Jun 2011 08:50:56 -0400, Haynes, Stan <[email protected]>
wrote:

>You're right, Shmuel. The TIOT is where the search begins.
>
>The COBOL program has a static mapping of TCB and TIOT in the LINKAGE
section. It gets the 
>TIOT address from the TCB, then scans the TIOT, looking for a specific
DDNAME.  It then calls an 
>assembler program to do the RDJFCB for that DDNAME.

That seems a bit complicated. Why bother having the COBOL program look for a
specific DDNAME? Just call the assembler program to do the RDJFCB. If the
DDNAME was not present the assembler routine can provide an appropriate
return code to the COBOL program. 

-- 
Walt

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to