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



Thanks everyone for your suggestions.  I think I'll go with CPYSPLF.  It's not 
as clean as I would like but it will get me all the information I need in one 
place.

Thanks again,

Mike

-----Original Message-----
From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx]
Sent: Monday, December 01, 2003 12:30 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: API to retrieve messages from history log


Good point.

There's always CPYSPLF.

Then there's
CRTPF FILE(QTEMP/DUH) RCDLEN(150)
OVRDBF FILE(QPDSPLOG) TOFILE(QTEMP/DUH) LVLCHK(*NO)

You can't do a DSPMSG QHST.  But there's where they stay until they get 
written to the QHST* files.  WRKF QSYS/QHST*

An api would be so much better.  Then it would be release independent and 
you wouldn't have to "trust" IBM to not move the fields around in the 
output.
Please submit a DCR at:
http://faq.midrange.com/index.pl?_highlightWords=dcr&file=189
or
http://www-912.ibm.com/s_dir/slkbase.nsf/1ac66549a21402188625680b0002037e/3ca7d5dfc681aa86862565c500526323?OpenDocument&Highlight=0,5314847

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




"Mike Tobey" <Mike.Tobey@xxxxxxxxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/01/2003 01:11 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc

Fax to

Subject
RE: API to retrieve messages from history log






Rob, 

Thanks for your response, we currently use DSPLOG but I am looking for a 
way to be able to check the history log via an RPG program.

Here is what I am trying to accomplish.  Currently we do two daily 
backups, one set of information around 2am (batch) and a different set 
around 5am (interactive).  In the morning we use DSPLOG to check for these 
two backups and record the start time, stop time and tapes used.  I was 
hoping for an API because I would like automate this and I didn't see an 
*OUTFILE option on the DSPLOG command. 

Any ideas?

Mike 

-----Original Message-----
From: rob@xxxxxxxxx [mailto:rob@xxxxxxxxx]
Sent: Monday, December 01, 2003 10:32 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: API to retrieve messages from history log


Couldn't find any "API".  But DSPLOG does it quite nice.

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




"Mike Tobey" <Mike.Tobey@xxxxxxxxxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/01/2003 10:48 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
<RPG400-L@xxxxxxxxxxxx>
cc

Fax to

Subject
API to retrieve messages from history log






Does anyone know of an API that can be used to retrieve messages from the 
history log?

Michael Tobey
Applications Analyst 
Foremost Farms USA
mike.tobey@xxxxxxxxxxxxxxxxx

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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