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



On Wed, 2008-10-15 at 13:39 -0500, DeLong, Eric wrote:
Search the archives for examples of the stat api in CLLE. Here's the
page from the infocenter...

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/stat.ht
m

Hth,
Eric DeLong

I wonder ... Is this requirement--to retrieve `stat` info in a CL
program--common? Can we convince IBM to give us a *CMD wrapped around
`stat`?

Cheers,
Terry,
the guy with a fetish for command definitions.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of jim t
Sent: Wednesday, October 15, 2008 12:17 PM
To: midrange-l@xxxxxxxxxxxx
Subject: How do I retrieve a STMF change date in a CLP

I have been asked to create a CL that will be used to promote IFS
objects. In the CL I have to find out if the object exists and what the
Last Change date is. Is this possible in a CL?

To see if the object exists I have tried "CD /ToTheDir/TheStreamFile"
and monitoring for a CPFA0AB message. I am using RTVDIRINF on the object
to get the change date but this is a slow method.


Thanks
Jim



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.