× 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.



Hi there,
i have a strange problem with ifs files in a rpg.
I use the ifsio_h headers from Scotts expat package.

My main program calls a module to fill an ifs file with data i get from an 
socket connection.

It is opened with
fd = open(ifsfile: O_RDWR+O_TRUNC+O_CREAT: 511: 1252);

after the write the discriptor is properly closed via close(fd).
The file in the ifs then has *RWX vor *PUBLIC and for my user.

But back in the mainprogram the open() of the file fails with CPE3025 (No 
path or library with this name)
fd = open(ifsfile: O_RDONLY); 

I also tried a chmod via
chmod(ifsfile: S_IRUSR + S_IWUSR + S_IXUSR);
but this returns the same error.

ifsfile is in all cases "/tmp/geocodEFF.txt"

Something is wrong with that file.
When I ftp to the machine i get a similar error:

230 EFF logged on.
ftp> cd /tmp
250 "/tmp" is current directory.
ftp> dir geo*
200 PORT subcommand request successful.
125 List started.
-rwxrwxrwx   1 EFF      0          68234 Dec 12 10:35 geocodEFF.txt
250 List completed.
FTP: 64d Bytes empfangen in 0,00Sekunden 81000,00KB/s
ftp> get geocodEFF.txt
200 PORT subcommand request successful.
550  Unable to find file /tmp/geocodEFF.txt
ftp>

With WRKLNK i can view and edit the file...

Has anyone ever faced this problem and knows how to solve it?

best regards
 Martin

----------------------------------------------------------------------------------
Offergeld Zentralverwaltung GmbH & Co. KG
IT-Anwendungsentwicklung
Grüner Weg 1-3
52146 Würselen/ Deutschland

Tel.:  +49 2405-456-267
Fax:  +49 2405-456-285
eMail: m.effenberg@xxxxxxxxxxxx
http://www.offergeld.de


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.