When i put a jshow for a routine I am getting an output as shown below
jsh glo ~ -->jshow -c XYZ
Subroutine: /data/glo/bnk/bnk.run/mylib/lib175.so.2
jBC XYZ version 4.0 Tue Apr 12 20:30:11 2005
jBC XYZ source file BP
But when i call my routine XYZ from any of the application I am
getting the following error.
** Error [ SUBROUTINE_CALL_FAIL ] **
Unable to perform CALL to subroutine XYZ
Trap from an error message, error message name = SUBROUTINE_CALL_FAIL
Please advice. I recompiled it many times but found the same error
ocurring again and again.
--
Karthik Sekar
So for example, if your subroutine is created in /u/mydir/lib then you need
to have JBCOBJECTLIST=$JBCOBJECTLIST;/u/mydir/lib for example.
Hope this helps
=======================================
Simon Verona
Dealer Management Services Ltd
Stewart House
Centurion Office Park
Julian Way
Sheffield
S9 1GD
Email: si...@dmservices.co.uk
Tel: 0870 080 2300
Fax: 0870 169 6747
Your best bet is to check all of the subroutines in your library,
delete the library and recompile them all again.
hth
Mike
Regards
Simon
=======================================
Simon Verona
Dealer Management Services Ltd
Stewart House
Centurion Office Park
Julian Way
Sheffield
S9 1GD
Email: si...@dmservices.co.uk
Tel: 0870 080 2300
Fax: 0870 169 6747
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of
Thanks for your prompt reply. I saw the variable JBCOBJECTLIST, this
was set as pescribed. Unfourtunately I cannot check with the
SUBROUTINE Name as I am having only the Object code.
But here are some analysis that we made...
We used jBuilSLib for the same routine XYZ and gave another Library
name. In this case it didnt show a call Fail to this routine, but it
showed a call Fail with some other Library and some other routine.
We also tried replacing the Library files from the original pack but
the same error persisted.
Now we are in Crossroads and dunno which way to proceed. Any further
lead to us would help us.
Rregards,
Karthik Sekar
Also, you should point your own programs to a different bin and lib so
that your dev and compile does not corrupt the shipped bin and lib for
which you only have object code.
Mike
Without having source to hand, it sounds like it's going to be difficult.
It's looking more likely that he will have to refer to the developer. This
could be something stupid like not having enough passing arguments or
something like that ?
Regards
=======================================
Simon Verona
Dealer Management Services Ltd
Stewart House
Centurion Office Park
Julian Way
Sheffield
S9 1GD
Email: si...@dmservices.co.uk
Tel: 0870 080 2300
Fax: 0870 169 6747
-----Original Message-----
From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of
mike ryder
Sent: 17 December 2005 12:51
To: jBASE
Subject: Re: SUBROUTINE Call Fail
Also thanks for the help than Mike and urself have to given to me....I
wish this group helps people more often than not.
Regards,
Karthik sekar