× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On Mon, 25 Oct 2004, Ian Patterson wrote:
>
> If I use the file creation (from Scotts's tutorials) method to create the
> IFS file, and then access it in Delphi programs in Windows, I get IO errors.
> Notepad can open the file.

Hmmm... it sounds like the iSeries is doing it's job properly if Notepad
can open the file.  I don't know what Delphi does differently...  Unless
Delphi is an old version, like Win 3.1?

[SNIP]
> 0089.00 c                   eval      fd = open(%trimr(AppFile):
> 0090.00 c                             O_WRONLY+O_TRUNC+O_CREAT+O_CODEPAGE:
> 0091.00 c                             file_IFSMODE:file_CODEPAGE)
[SNIP]
> 0027.00 D File_IFSMODE    C                   CONST(511)
>
> I then give *PUBLIC all access & rights to the data & objects (manually)

Why would you have to manually give authority?  Something's not kosher
here...  If you've got a file mode of 511, everyone should have both read
& write authority to the file.   Unless it's a umask problem?  What's your
umask set to?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.