rohan_rege
20th November 2002, 23:30
Hi ,
I am facing a problem catching a error message while exceuting session tfacp1140s000 using stpapi.get.mess.code in my AFS program.
The problem is that when there error is encountered while processing tfacp1140 script ,a error message is generated , and then a call to choice.abort.program is made thus ending the session tfacp1140s000 automatically.
Now when the session is run thru my AFs program , my
stpapi.get.mess.code () returns empty string , instead of the error code tfacps0107 which it shud rightly do , since it was the error message that was generated before the session was aborted.
Any suggestions , why is the AFs not able to catch the error message.
Also i used the stpapi.get.mess.code("tfacp1140s000" , error.mess1) after
stpapi.continue.process("tfacp1140s000" , error.mess2)
i noticed that error.mess2 contains Process is Gone
Is this the reason why the message is lost ?
Is there a way to get around this problem
Rgds
Rohan
I am facing a problem catching a error message while exceuting session tfacp1140s000 using stpapi.get.mess.code in my AFS program.
The problem is that when there error is encountered while processing tfacp1140 script ,a error message is generated , and then a call to choice.abort.program is made thus ending the session tfacp1140s000 automatically.
Now when the session is run thru my AFs program , my
stpapi.get.mess.code () returns empty string , instead of the error code tfacps0107 which it shud rightly do , since it was the error message that was generated before the session was aborted.
Any suggestions , why is the AFs not able to catch the error message.
Also i used the stpapi.get.mess.code("tfacp1140s000" , error.mess1) after
stpapi.continue.process("tfacp1140s000" , error.mess2)
i noticed that error.mess2 contains Process is Gone
Is this the reason why the message is lost ?
Is there a way to get around this problem
Rgds
Rohan