Gerhard Postpischil wrote:
Steve Comstock wrote:
So, no, I would say the x'80' bit is not on at
execution time. But, it is not clear how one
would do that (without manually coding the
macro expansion oneself). The doc does not
include the classic 'vl' operand as an option:
1) Then that's the problem. OPEN processes successive double words as
ACB/DCB entries until it gets one it bombs on.
2) IBM has a lot of funny macros that were shoehorned into RENT support.
For these it's necessary to define a copy in your CSECT, and another in
your DSECT, and move the pattern. Some programmers put all their
patterns into one CSECT, then use a single MVC/MVCL to initialize the
DSECT (for anything non-trivial, I make a macro with different name
expansions).
However, in the case of OPEN, you can just do an MVI openlist,X'80' for
an input file.
Yup! That did it! Thanks.
Well, that's surely not very clearly documented.
Kind regards,
-Steve Comstock
----------------------------------------------------------------------
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