×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




How about this? It was new in the database PTF group from last November
for 7.2 and 7.3.

select * from table (history_log_info() ) x where message_id = 'CPF3145'
order by message_timestamp desc

See this link for more information including how to set the start and end
time range for the history log

https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/QSYS2.HISTORY_LOG_INFO%20UDTF

Sue Romano
IBM i SQL Development

Is there a way to DSPLOG LOG(QHST) OUTPUT(*PRINT) MSGID(CPF3145) to an
outifle or to a spoolfile that doesn't wrap.

I need an easy way to track access path rebuilds.
The below wraps, not easy to read.
I'd like to dump the output, sort descending by the time used field
00:00:01.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.