Retrieve procedure name in the ON-EXIT section [email protected] (Simon Hutchinson)

​[[{“value”:”Prior to the latest Technology Refreshes, IBM i 7.5 TR5 and 7.4 TR11, it was not possible to get the procedure’s name using the %PROC built in function in the ON-EXIT section of any procedure.
IBM explained to me that the ON-EXIT section of a procedure is another procedure, which is why they would not allow the procedure name to be returned, as it would not be what I expected.
In the latest TR IBM has provided us with a solution. There are now three versions of the %PROC BiF:
Read more »”}]] Read More 

Verified by MonsterInsights