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



The documentation for the Unix type API's has this info but Scott Klement's web site has examples of using these API's (they're probably in the archives as well). Take a look at his IFS tutorial at http://www.scottklement.com/rpg/ifs.html.

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ian Patterson
Sent: Thursday, May 14, 2009 12:17 PM
To: RPG programming on the IBM i / System i
Subject: RE: IFS problem with V5R4 upgrade

Matt,

whats the process to determine the actual failure from the API ?
Can you point to a technique.

Thanks.

ian

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Haas, Matt (CL Tech
Sv)
Sent: 14 May 2009 14:28
To: RPG programming on the IBM i / System i
Subject: RE: IFS problem with V5R4 upgrade


Are you calling the API to get the error number when it fails? That will
tell you what the problem is.

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Ian Patterson
Sent: Thursday, May 14, 2009 4:04 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: IFS problem with V5R4 upgrade

Has anyone seen this problem ?

I have an RPGLE program that reads a file on the IFS which is created by a
PC program (of mine).
This program has worked successfully for years over all OS/400 versions from
V5R1
Last week a Customer upgraded from V5R3 to V5R4 and the program now fails on
the open() of the IFS file (return code -1)
All other V5R4's including ours work OK.

The strange thing is that if I interactively debug the program - it works.

Any thoughts ?

Regards

Ian Patterson
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.