|
From the CLLE:DCL VAR(&IFSOBJ) TYPE(*CHAR) LEN(156)
From: Mark S. Waterbury <mark.s.waterbury@xxxxxxx>
Subject: Re: How do I retrieve a STMF change date in a CLP
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: Thursday, October 16, 2008, 10:58 PM
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:in CLLE. Here's the
Search the archives for examples of the stat api
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/stat.htpage from the infocenter...
info in a CLm
Hth,
Eric DeLong
I wonder ... Is this requirement--to retrieve `stat`
program--common? Can we convince IBM to give us a*CMD wrapped around
`stat`?Of jim t
Cheers,
Terry,
the guy with a fetish for command definitions.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
CLPSent: Wednesday, October 15, 2008 12:17 PM
To: midrange-l@xxxxxxxxxxxx
Subject: How do I retrieve a STMF change date in a
to promote IFS
I have been asked to create a CL that will be used
object exists and what theobjects. In the CL I have to find out if the
/ToTheDir/TheStreamFile"Last Change date is. Is this possible in a CL?
To see if the object exists I have tried "CD
RTVDIRINF on the objectand monitoring for a CPFA0AB message. I am using
--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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.