× 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 Patrik,


I need to learn about ways to properly check for errors without some BIFs not available in ILE RPG on V3. Example: %STATUS(MYPF).


Before the %STATUS BIF, we would use the status subfield of the Program Status Data Structure (PSDS, for program errors) or the status subfield of the file information data structure (INFDS) for file-related errors.

It will contain the exact same numbers -- just retrieving them from a different place.


Well, if you want to read or write a date/time/timestamps from/to an RPG variable, you first need to MOVE or or EVAL the content from/to the internal/external variable. I feel that's cumbersome compared to the handling of string, or numeric variables.


Weird... I'm pretty sure I've never needed to do that.


Of course, it's *much* less painful than handling date/time values with C. ;-)


Amen to that!


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.