Reporting to the concurrent program output file
Now that we have written to the log file to view log information, we want to write more user-friendly information to the user. We will make this more formatted so that it provides useful information to the user about the processing that has taken place.
The tasks we are going to perform in this recipe are as follows:
- Add a procedure to write to the output file
- Add a cursor to get some data
- Add code to fetch data and write to the output file
- Run the concurrent program
- View the concurrent program output file
Add a procedure to write to the output file
We are now going to add the code to the executable, which is our package called
XXHREEBS. If you wish to view or copy the code then it can be found in the file ...