I'm looking for an easy way to get "error" information from the job log into my RPGLE Program.
I'm "monitoring" a CHAIN to a file for an "unable to allocate" error, and would like to pop-up a window to display who is locking the record.
How do I go about doing this?
Thanks
Software/Hardware used:
ASKED:
January 5, 2007 10:49 AM
UPDATED:
January 5, 2007 12:45 PM
Thanks Astradyne…
I had been using the PDS, with the same 91 to 170 location.
The problem was I was using a monitor, and an On-Error 01218, which pulled in just the “Unable to allocate record.” message rather than the “Record 1781 in use by job 079142/BSCHMI/BSCHMI1.’
Don’t know why it is different, but that solved the problem.