I have a COBOL program that uses the intrinsic FOPEN to open a file.
Using the standard MPEiX syntax I do a call to FLABELINFO prior to the FOPEN
to get the lockword (if one exists).
Then I setup the file name as : filename/lockword.group.acct and pass it to
FOPEN. This works perfectly.
Now I am looking at trying this with HFS syntax.
So I try : /ACCT/GROUP/FILENAME/LOCKWORD
However, the FOPEN fails telling me that the component part (/LOCKWORD)
is not a directory.
So I take away the /LOCKWORD part and pass /ACCT/GROUP/FILENAME
to the FOPEN...
The FOPEN fails with a lockword violation......
Ho hum....
Does this mean we cannot FOPEN a lockworded file using HFS syntax?
Can HFS files even be lockworded?
Looks like they can't.....
I've never tried this FOPEN on HFS syntax before so it is definitely shark
infested waters for me.
Hope someone can help me.
TIA,
Brian.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *