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


  • Subject: RE: Converting characters to hex
  • From: "Phil" <sublime78ska@xxxxxxxxx>
  • Date: Wed, 9 May 2001 16:51:10 -0400
  • Importance: Normal

Use lstat


-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of Andrew Borts
Sent: Wednesday, May 09, 2001 3:54 PM
To: RPG400-L@midrange.com
Cc: bvining@us.ibm.com
Subject: RE: Converting characters to hex

What is the API to get information about IFS objects with Last Used dates?
Does ANYONE have an example of this?

-Andrew B.
Work (561) 994-2660x2211
Home (954) 349-0312
Work E-mail Andrewb@setacorporation.com
Home E-mail adborts@attglobal.net
Palm E-mail andrewb@omnisky.net

-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of Jon.Paris@hal.it
Sent: Wednesday, May 09, 2001 1:54 PM
To: RPG400-L@midrange.com
Cc: bvining@us.ibm.com
Subject: Re: Converting characters to hex


 >> Are we talking about APIs here or MI instructions?  If MI instruction
design is being discussed, then why use that as an example of poor design
in APIs causing people to give up on APIs?

Hi Bruce,

If I'm programming in RPG and I use a system supplied interface to an MI
instruction (I'm not directly coding MI) then surely by any normal use of
the term I'm using an API?  It may not strictly match IBM's definition of
the term but what else would I call it?  There must be manipulation going
on "under the hood" to map my call into the MI required format and it just
seemed to me that it could have been made a bit more intuitive.

Now if you want examples of strange designs in APIs I'm sure the assembled
populace could come up with any number of examples for you <grin>.

<rant on>
I confess that this thread triggered this mild rant (which in itself it
didn't deserve) because it is very frustrating when you constantly come
upon examples in IBM manuals that tell you how to code the function in C
(really useful to most RPG/COBOL folks) or in the case of some of the
recent DB2/400 functions - Visual Basic! - now that really helps me to
implement it in my production RPG code!  Thanks goodness for Mel Rothman
and CGIDEV2 'cos I sure as hell would never have discovered how the CGI
parse APIs worked without a large amount of investigative time that I don't
have.

I'm probably better equipped than most RPGers to interpret IBM's
documentation, but by golly you guys don't make it easy for us.  The
biggest single comment we get on the RPG Redbook goes along the lines of
"Thank goodness IBM actually published something that helps me make sense
of these things - now can't you get the manual writers ......."

<rant off>


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.