Thank you again Scott. The stat() API gives me what I need. Since we
are reading a directory and not opening the files, I do not need to use
fstat(). The Qp01GetAttr() provides way more than I need at this time
but I am putting into my fading long term storage for future
forgetfulness. ;-)
While I have the list on the line, what is the easiest way to move and
rename a file from a QNTC directory to a mounted directory in the IFS.
( Toss it to our NAS server! )
I know the MOV command works but there has got to be an API under the
command that can be bound to an RGPLE.
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, November 11, 2009 8:52 PM
To: Midrange Systems Technical Discussion
Subject: Re: opendir()
The stat() API will give you most of the details of an IFS object, and
is easy to use.
You can get more comprehensive information about an IFS object with the
Qp0lGetAttr() API. There are a few thigns, such as the "create date"
that aren't available with stat(), but are available with Qp0lGetAttr().
I have an example of Qp0lGetAttr here (but it does require a ProVIP
membership to System iNetwork... ugh)
http://systeminetwork.com/article/how-retrieve-create-date-ifs-file
As an Amazon Associate we earn from qualifying purchases.