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



If you have TAATOOLS, there is a command, CVTIFS, which returns all of
the information you may need from a particular IFS directory, including
Last Attribute Change Date and Last Data Change Date.

HTH

Rick Marchini

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S. Waterbury
Sent: Thursday, October 16, 2008 11:28 AM
To: Midrange Systems Technical Discussion
Subject: Re: How do I retrieve a STMF change date in a CLP

Hi, Terrence:

If that's what you want, why not just write your own command (and
command processing program)?

That's why IBM gave us the ability to create commands.

And that way, you could write this command processing program in ILE RPG
IV, or even in ILE C/400, since it would probably be much easier to deal
with the stat() API that way.

And then just use your new command in your CL programs, as and when
needed.

Cheers,

Mark S. Waterbury

Terrence Enger wrote:
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




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


*********************** NOTICE***********************

This e-mail and attachment(s) may contain information that is
privileged, confidential, and/or exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copy of this message is strictly prohibited. If
received in error, please notify the sender immediately and
delete/destroy the message and any copies thereof. Although
Associated Banc-Corp and/or its affiliates (collectively
"Associated") attempt to prevent the passage of viruses via e-mail
and attachments thereto, Associated does not guarantee that either
are virus-free, and accepts no liability for any damage sustained
as a result of any such viruses.

Any federal tax advice contained in this communication (including
any attachments) is not intended or written to be used or referred
to in the promoting, marketing, or recommending of any entity,
investment plan or agreement, nor is such advice intended or written
to be used, and cannot be used, by a taxpayer for the purpose of
avoiding penalties under the Internal Revenue Tax Code


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.