T24:SUBROUTINE_CALL_FAIL - TRAP FROM AN ERROR MESSAGE

1,106 views
Skip to first unread message

Bolaji Ajiboye

unread,
Nov 12, 2009, 12:19:36 PM11/12/09
to jB...@googlegroups.com
Colleagues,

Im running jbase 4.1/R06 on Red Hat linux and have this error while
running an enquiry

Loan Number Customer Date Principal
Interest Interest Interest OD WOF
----------------------------------------------------------------------------------------------------------------------------------
Unable to perform CALL to subroutine GLT.LOC.PD.WOF , Line 656 ,
Source CONCAT.LIST.PROCESSOR
Press C to continue or Q to quit
Trap from an error message, error message name = SUBROUTINE_CALL_FAIL
Line 656 , Source CONCAT.LIST.PROCESSOR
jBASE debugger->

when i press C to continue i have no records displayed.

I actually put a CRT in the routine to test if the programs works
which of course it works fine. and when i removed/uncomment the CRT
and recompile the program i have the above error.

when i do jshow -c GLT.LOC.PD.WOF nothing was displayed.

jsh t24live ~ -->jshow -c GLT.LOC.PD.WOF
jsh t24live ~ -->

jsh t24live ~ -->EB.COMPILE LOCAL.BP GLT.LOC.PD.WOF
Source directory : LOCAL.BP Single item : GLT.LOC.PD.WOF
Score Checks Compile Catalog
Score Compile Catalog
Current settings of bin & lib unchanged:
/database/t24LIVE/bnk.run/localbin & lib
GLT.LOC.PD.WOF
Source file GLT.LOC.PD.WOF compiled successfully
<compileoutput><errors></errors><warnings><warning><msg>Warning -
found 'CALL DBR' 2 times</msg><line>80</line><type>Multiple DBR's>

jsh t24live ~ -->CATALOG LOCAL.BP GLT.LOC.PD.WOF
GLT.LOC.PD.WOF
Object GLT.LOC.PD.WOF cataloged successfully
Library /database/t24LIVE/bnk.run/locallib/lib11.so.141 rebuild okay
jsh t24live ~ -->

Could it be that the routine did not compile well. Any idea will be
greatly appreciated.

Regards

Bolaji

pat

unread,
Nov 12, 2009, 6:12:00 PM11/12/09
to jBASE
Possible causes :

i) Your current 'JBCOBJECTLIST' enironment variable setting does not
include the directory path :

/database/t24LIVE/bnk.run/locallib

ii) Your 'CALL', to 'GLT.LOC.PD.WOF ' does not contain the same
number of parameters, as defined in the 'SUBROUTINE' statement in the
'LOCAL.BP GLT.LOC.PD.WOF' source code

iii) The Subroutine name, defined in the 'SUBROUTINE' statement in the
'LOCAL.BP GLT.LOC.PD.WOF' source code, is not 'GLT.LOC.PD.WOF'

Pat.

ADENIYI KAREEM

unread,
Nov 12, 2009, 3:38:19 PM11/12/09
to jb...@googlegroups.com
Hi bolaji,

DECATALOG the program and recompile....

regards,
--
'Niyi Kareem
IT Consultant
P.O.Box 1006
Satellite Town,
Lagos,Nigeria
+2348023382844

raphael olapade

unread,
Nov 13, 2009, 1:58:23 AM11/13/09
to jb...@googlegroups.com
Hi Bolaji,
 
I am also on the same platform as you are and i had similar experience about few days ago.
 
Just like what my professional colleagues suggested, just DECATALOG and recompile your routine
 
and your enquiry will work.
 
However you did not mentioned to us whether your enquiry is NOFILE or your routine get some value via
 
O.DATA for your enquiry. If the later is what you used maybe you have to do PGM.FILE and
 
EB.API again in Live area.
 
But I believe recompiling should work.
 
Good luck.
 
rafael


 
2009/11/12 Bolaji Ajiboye <jaf...@gmail.com>



--
Raphael
Reply all
Reply to author
Forward
0 new messages