-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
Use of EB.ERROR?
Use of EB.ERROR?
-
malai
-
Topic Author
-
Offline
-
Platinum Member
-
Less
More
-
Posts: 508
-
Thank you received: 11
-
-
-
18 years 9 months ago #723
by malai
Hi,
We all know there is a application called EB.ERROR which is used to raise generic error messages inside GLOBUS.
I tried the same in T24 on jBASE4.1 as follows.
1. I created a record 'AC-MY.ERROR' in EB.ERROR application with the description 'this is my error message for ac'.
2. I wrote a subroutine 'MY.SUB'
SUBROUTINE MY.SUB
$INSERT I_COMMON
$INSERT I_EQUATE
ETEXT = 'AC-MY.ERROR'
CALL STORE.END.ERROR
RETURN
END
3. I created a PGM.FILE with type M for the above subroutine.
While I execut the subroutine, I expect the error message 'this is my error message for ac' . But I didnt get the message. What could be the problem?
_________________
M A L A I
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 17
-
Thank you received: 0
-
-
18 years 8 months ago #724
by shenbasp2002
Hi malai,
When we try to display the error message through EB.ERROR application, you should be literally in that application...
For example, in your case you have created EB.ERROR record for the ACCOUNT application and tried as a main line program... Please attach the routine in any version of the ACCOUNT application and check it out...
It works....
Regds,
Shenba
Please Log in or Create an account to join the conversation.
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
Use of EB.ERROR?
Time to create page: 0.062 seconds