Page 1 of 1
Log for Stored Procedure
Posted:
Wed Oct 16, 2013 12:48 pm
by pulsar22
Hi,
Is there any way by which we can create log for cobol stored procedure when called by external applications.
Help required.
Re: Log for Stored Procedure
Posted:
Wed Oct 16, 2013 7:35 pm
by dick scherrer
Hello,
Put code in the SP to record what you want . . .
Re: Log for Stored Procedure
Posted:
Wed Oct 23, 2013 8:11 pm
by pulsar22
this will return the message to the calling application....right?
But i don't want this.I need it like joblog is saved and we can see it later in case of failure.
Re: Log for Stored Procedure
Posted:
Wed Oct 23, 2013 8:19 pm
by Akatsukami
pulsar22 wrote:this will return the message to the calling application....right?
Only if you so return it; write it instead to a log data set or table.