At 9:03 AM -0700 on 3/17/07, Ray Mullins wrote about Re: Need help
with Assembler accessing VSAM file in reentra:
OPEN (USER_SPECIFIED_DDNAME),MF=(E,@OPEN)
@OPEN OPEN (,INPUT,SYSPRINT,OUTPUT),MF=L
It's Saturday so no work access, and I can't fire up my MVS/SP 3.8j
environment right now due to disk space issues (stupid sudden interest in
French music CD ripping), so I can't cut/paste the assembler output. If you
assemble the above, you'll see all sorts of ORing going on to preserve the
high order byte where the options are stored when the first parameter is
specified. And if the MF=E expansion set the HOB on as you suggest, then
SYSPRINT would not be opened.
That is because you coded the MF=E wrong. It should be set for a two
entry MF=L as follows:
OPEN (USER_SPECIFIED_DDNAME,,,),MF=(E,@OPEN)
NOW it knows the MF=L is two entries long and could/would set the HOB
on the 2nd not the 1st entry.
----------------------------------------------------------------------
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