>Note: When you use the DE parameter with the LOAD macro, DE specifies
>the address of a list that was created by a BLDL macro. 

Thanks for pointing that out. One might argue that it is correct, as what 
the BLDL macro creates is the "list" based on the header that the invoker 
of the BLDL macro creates the header which indicates the size of any entry 
and the number of entries. But of course the DE parameter could locate not 
the list itself (or even the first list entry) but rather  any of the list 
entries.

However, it's not worth arguing, as there is no need for there to be 
confusion.

The earlier sentence in the book: 
"Specifies the entry name, the address of the name, or the address of the 
name field in a 62-byte list entry for the entry name that was constructed 
using the BLDL macro. If EPLOC is coded, the name must be padded to eight 
bytes, if necessary."
ought to be separated, for clarity, based on whether it is referring to 
EP, EPLOC, or DE. Such as
- When EP is coded, specifies the entry name
- When EPLOC is coded, specifies the address of the name, padded to eight 
bytes, if necessary
- When DE is coded, specifies the address of the name field in a 62-byte 
list entry ...

And that will leave the first sentence of the note not needing to be 
anything more than the lead-in "When you use the DE parameter" as 
everything else in that sentence is redundant. The following sentences of 
the note would still apply:
"BLDL and LOAD must be issued from the same task; otherwise, the system 
might terminate the program with an abend code of 106 and a return code of 
15. Therefore, do not issue an ATTACH or a DETACH macro between issuances 
of the BLDL and the LOAD macros."

Actually, I have no clue what the last sentence really means. Certainly it 
is perfectly find to attach a new task and/or detach an old task between 
issuing of a BLDL and a LOAD. I'd vote for deleting it entirely.

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

Reply via email to