Hello Experts,
My requirement is that the error logs of all transactions run on a particular day should be appended in a common file which is opened in appending mode using OPEN DATASET.
This OPEN DATASET statement should be used once in a program scheduled to run first thing every day in the morning.
If I tranfer error messsages to this error log file using TRANSFER clause, the messages are overwritten and I see only the latest message.
I require the messages to be appended in the file every time errors are logged for multiple transactions.
Is there any way in which I do not have to explicitly mention Open dataset statement in all transactions?
Thanks,
Garima