Charles Mills wrote:
>I guess I AM losing my mind.
No, you are NOT losing your mind. I'm following your excellent thread, but I am
wondering about one thing:
>If I had my druthers the C library would not be doing me this "favor" at all.
>If I issue fopen("FOO.BAR", then try to open FOO.BAR, not some other file.
> "how I would re-design MVS"
> They could universally (including DSN=) have made ".FOO.BAR" mean absolute
> FOO.BAR but "FOO.BAR" mean userid.FOO.BAR.
All of above lets me wonder about one thing: How do the C language and LE
prepare a SVC99 (Allocation routine) or alternative, prepare an OPEN macro
before calling those routines?
I'm asking, because I know that those routines are calling RACF ('always call')
upon receiving whatever DSN name and other attributes from the caller in your C
program.
Charles, do you use the same files to include when compiling?
Or can you compile your program and see what Assembler instructions are
generated? This is so you can compare it with your working programs.
Groete / Greetings
Elardus Engelbrecht
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN