Title: | FOCUS, from INFORMATION BUILDERS |
Moderator: | ZAYIUS::BROUILLETTE |
Created: | Thu Feb 19 1987 |
Last Modified: | Mon May 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 615 |
Total number of notes: | 1779 |
Hi, We just had a problem with MRE, where a normal looking procedure crashed saying something like "Error running procedure blabla external procedure not found " We tracked it down to the point where Mre verify's the focus procedure to find if somewhere within the procedure another procedure is being called. (Mre$run_check_focexec.exe) The listing file this executable produced, contained a procedure name which didn't exist, simply because it was never created. It turned out to be a hidden feature where as users included a string in there procedure saying "IF NOT A THEN 'SAY EX BTW'" and "EX" was thought to be "exclusive BTW" where it was interperted as the Focus statement EXecute. Telling the user to substitue "EX" to "without" resulted in a happy user and a closed call. An example of a procedure part is added. PRINT LI_ID_NO IN 29 AS 'L.I.' AND PTL_FG_I AS ' ' AND DL_RQ_CQY AS 'Q.ORD' AND POE_RC_CQY AS 'Q.REC' AND DNG_CQY AS 'Q.DEL' AND PART_RQ_CID AS 'PARTNR.' AND DL_RQ_CDT_I IN 75 AS 'REQUESTED' AND SH_SC_CDT IN 90 AS 'D30 SCHEDULED' AND ORD_SUP_CD IN 108 AS 'ST.CODE' AND NET_LC IN 113 AS 'NETTO,EX BTW' ^^^^^^^^^^^^^^ BY DEC_NO IN 10 AS 'DECNO.' UNDER-LINE PAGE-BREAK Greetings, Martin
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
386.1 | CUCKOO::OTTEN | Middle-Management Buck-passer. | Mon Dec 10 1990 06:36 | 6 | |
From the EX, MRE Assumes (incorrectly, in this case) that the user's telling it to EXecute procedure BTW. It looks for BTW, and can't find it.. so it reports the error. More lengthy reply in the mre_interest conference |