|
Tony, In the RPGLAB, there is this prototype: D QjoRtvJournalEntries... D PR ExtProc('QjoRetrieveJournalEntries') D szRtnBuffer 65535A OPTIONS(*VARSIZE) D nBufLen 10I 0 Const D JrnName 20A Const D szAPIFmt 8A Const D szJrnEntQry 32766A Const OPTIONS(*OMIT) D api_Error Like(xt_QUSEC) OPTIONS(*OMIT) The szRtnBuffer and szJrnEntQry are the ones where you pass a data structure needed for your specific return results. -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: rpg400-l-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx] On Behalf Of Tony Carolla Sent: Wednesday, October 19, 2005 6:51 PM To: RPG programming on the AS400 / iSeries Subject: Journal APIs I am working on writing a program to retrieve journal entries, and store them in a 'change history' file, for inquiry. I started reading about the QjoRetrieveJournalEntries() API, and I am wondering if anybody has created a prototype. I looked at the one in QSYSINC, and it seems to be a bunch of DS's, and a CONST specifying the name QjoRetrieveJournalEntries. Also, if you have an example you have created, I would be mucho grateful. I know how to use the DSPJRN CL command, but I thought I might make it neater than outputting to a file in QTEMP, reading through the file, repeat for each library, etc. -- "Enter any 11-digit prime number to continue..." "In Hebrew SQL, how do you use right() and left()?..." - Random Thought "If all you have is a hammer, all your problems begin to look like nails"
As an Amazon Associate we earn from qualifying purchases.
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.