So, Charles, what you are trying to determine, if I understand
correctly, is whether or not a particular OCL member in QS36PRC has ever
been used or not? To the best of my knowledge there is no way to
determine this. (That said, IBM may have something hidden in the bowels
of the system, but I've never found it.)
Even the "Date last Used" in DSPFD is misleading (to my way of
thinking). I just looked at our QS36PRC source file and every OCL
member had yesterday's date as "Last Used". Probably because that's
when it was backed up. The information available from DSPFD is
generally intended for analyzing data files (OK, QS36PRC is a physical
file, but a special one - Source Physical).
I am guessing that you want to remove unused OCL36 members. First off,
you're not going to save a huge amount of space by doing that. But more
to the point, the only way that I have ever found to do this (find out
if a procedure is used) on both a /36 and i5 is to use the FNDSTRPDM
command to trace it, plus looking on the menus (source) to see if its
reference. After I "think" it's unused, I archive it and then delete it.
* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
Charles St-Laurent wrote:
> No, I really have OCL statements in OCL/36 sources, placed in QS36PRC of a
> "PaulMmn" <PaulMmn@xxxxxxxxxxxxx> a écrit dans le
> message de news: firstname.lastname@example.org...
>> If I understand your question, you're looking at the source code in
>> file QCLSRC... Or do you really have OCL statements?
>> If it's source code on QCLSRC, it's entirely likely that the source
>> code may not have been touched recently, because most source in
>> QCLSRC is compiled into programs, often with the program having the
>> same name as the source member. You'd have WRKOBJ or DSPOBJD and
>> look at the information for the compiled program.
>> --Paul E Musselman
>> At 10:19 AM -0400 10/12/07, Charles St-Laurent wrote:
>>> I try to know if OCL has never been interpreted since we have our new
>>> server. I tried the DSPFD command with the *MBR attribute and I wonder if
>>> Logical Reads = 0 means that the OCL has never been interpreted...
>>> Can someone answer my question?
>> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
>> To post a message email:
>> 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.
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives