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



I made this way too hard!

Sure, the idea way is to use GET_JOB_INFO but if you want it from the
joblog use the column message_tokens.

select
message_tokens,
message_text
from table(qsys2.joblog_info('*')) A
where message_id='CPF1124'

Returns
....+....1....+....2....+....3....+....4....+....5....+....6....+....7...
ROBS1 ROB 25904708:06:1503/19/1508:06:1503/19/15QINTER QSYS

select
substr(message_tokens , 59 , 10) as subsystem,
message_tokens,
message_text
from table(qsys2.joblog_info('*')) A
where message_id='CPF1124'
....+....1
SUBSYSTEM
QINTER

I was "this close" to typing up a DCR for something that already exists!

Message_tokens is equal to the message data.

The point of this example is it really eases incorporating APIs.

Rob Berendt

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.