0% found this document useful (0 votes)
126 views1 page

IFS Journal Monitor - Part 1

This document summarizes an IFS journal monitor utility that records when new objects are created in a specified IFS directory. The utility includes two CL programs (CBX925X and CBX925C) and one ILE RPG program (CBX925) that act as a receive journal exit program. CBX925X creates the necessary objects and compiles the other programs. CBX925C runs on a job queue and configures the exit program to be called when journal entries are received, helping prevent the job from timing out. The source code and details are available for download from the provided link.

Uploaded by

Inocencio
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views1 page

IFS Journal Monitor - Part 1

This document summarizes an IFS journal monitor utility that records when new objects are created in a specified IFS directory. The utility includes two CL programs (CBX925X and CBX925C) and one ILE RPG program (CBX925) that act as a receive journal exit program. CBX925X creates the necessary objects and compiles the other programs. CBX925C runs on a job queue and configures the exit program to be called when journal entries are received, helping prevent the job from timing out. The source code and details are available for download from the provided link.

Uploaded by

Inocencio
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

print | close

IFS Journal Monitor -- Part 1


System iNetwork Systems Management Newsletter
Carsten Flensburg
Carsten Flensburg
Wed, 10/27/2004 (All day)
This issue's utility from Carsten Flensburg is an IFS journal monitor that records when a new object is created
in a specified IFS directory. The code presented here is based on the methodology discussed in the October 9,
2003,newsletter, which you can read at http://www2.systeminetwork.com/article.cfm?ID=17415.
There are two CL programs, CBX925X and CBX925C, and ILE RPG program CBX925.
CL program CBX925X creates the required journal objects and programs based on its two input parameters, the
library to store the compiled utility and the name of the IFS directory to monitor. In addition to creating the
data area, the journal receiver, and the journal needed for this utility, it compiles programs CBX925C and
CBX925.
ILE RPG program CBX925 is the receive journal exit program, while CL program CBX925C runs on a job queue
as a never-ending program. CBX925C configures RCVJRNE to call exit program CBX925 when a journal entry
is received. If no entries have been received for 25 seconds, it passes a zero to indicate that no entries are
available. The 25 seconds is specified to prevent the job from timing out after 30 seconds, which is the default
delay time for a controlled end job request.
The source code for CBX925 includes more information on how the exit program works, as well as links to IBM
documentation about journal entries and their layouts, and the Receive Journal Entry (RCVJRNE).
You can download all of the source for this utility from http://www2.systeminetwork.com/noderesources
/code/clubtechcode/IFSLog.zip.
The above utility was written by Carsten Flensburg. For questions regarding this tip, contact Carsten at
mailto:[email protected].
Source URL: http://iprodeveloper.com/database/ifs-journal-monitor-part-1
IFS Journal Monitor -- Part 1 http://iprodeveloper.com/print/database/ifs-journal-monitor-part-1
1 de 1 27/09/2013 09:59 a.m.

You might also like