APIs by Example: Retrieve Journal Entries (QjoRetrieveJournalEntries)

This week Carsten Flensburg provides two sample programs showing how to use the QjoRetrieveJournalEntries API, which is one of the APIs most requested by readers. Each of the two ILE RPG programs, CBX1041 and CBX1042, show how to use the QjoRetrieveJournalEntries API using format RJNE0100 and RJNE0200, respectively.

Both programs produce a simple printout of QSNADS journal entries, which you can easily modify for other journals. Program CBX1041, which uses format RJNE0100, works for V4R4 and up, while CBX1042, which uses format RJNE0200, works only for OS/400 V5R2 and greater.

Download the save file containing the source code.

Read the entire article


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s