I guess that somebody catalogued object that has different file name, but contains same symbolic name. Look for 2 routines that have same name after SUBROUTINE keyword, but differently named source files.
Name mentioned after SUBROUTINE keyword must match (source code) file name. Too long story to explain.
Kind regards
Pawel
Dnia 3-07-2008 o godz. 15:37 Mujtaba Khan napisał(a):
Hi,
It seesm that routine is already cataloged so decataloged it first then recatalog , hope this will solve ur problem.
This error shows that the file TEST_2OOBJCAT_2OTESTCAT is already
created and the name of the file is wrongly created by the system.
File name should be like this TEST_2EOBJCAT_2ETESTCAT.
As mujhtaba says that decatalog the file first but unforunatly system
will not allow you to decatalog it.
You just go in the folder $HOME/lilb/obj (for non-windows platform) or
$HOME/lib/objdir (for windows) and search the file
TEST_2OOBJCAT_2OTESTCAT and delete it and again try to compile and
catalog the file.
Hope this will help you.
Thanks & Regards,
Sarfraz Rajput
On Jul 3, 5:18 pm, suresh <ksureshf...@gmail.com> wrote:
It is 3:00 p.m. on Friday as I type this. I have to visit walkerton . I am putting the toys in my car. If you phone me on my cell phone at 519-379-1537, any time in the next 1/2 hour or so and give me your address, I can drop them off. Otherwise, pickup tomorrow will be fine.
My address is :
13 3rd street.
Get there by turning west onto 3rd street at Hallman motors (across from the racetrack) and follow the street through one stop sign to the next at a T intersection. I am the house on your left as you come up to the stop sign. Vertical cedar fence around yard, corner lot.
> Date: Fri, 4 Jul 2008 07:48:40 -0700> Subject: Re: Unable to catalog the object - 35637> From: sarfraz.raj...@gmail.com> To: jBASE@googlegroups.com> > > Hi,> > This error shows that the file TEST_2OOBJCAT_2OTESTCAT is already> created and the name of the file is wrongly created by the system.> > File name should be like this TEST_2EOBJCAT_2ETESTCAT.> > As mujhtaba says that decatalog the file first but unforunatly system> will not allow you to decatalog it.> > You just go in the folder $HOME/lilb/obj (for non-windows platform) or> $HOME/lib/objdir (for windows) and search the file> TEST_2OOBJCAT_2OTESTCAT and delete it and again try to compile and> catalog the file.> > Hope this will help you.> > Thanks & Regards,> > Sarfraz Rajput> > On Jul 3, 5:18 pm, suresh <ksureshf...@gmail.com> wrote:> > Can anyone tell me what this error message means. I was trying to> > catalog the object> >> > jsh anch ~ -->CATALOG TESTING.BP TEST.OBJCAT.TESTCAT> > TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already> > defined in 35637> > ** Unable to catalog object TEST.OBJCAT.TESTCAT ** jsh anch ~ -->> >> > please help me ................> >> > Thanks and Regards,> > Sureshanch> _________________________________________________________________
sorry i wrongly mentioned the error file.. the exact error file name
is
" TEST_2EOBJCAT_2ETESTCAT "(i got the error for this file name only
not for that)
what the error means ???? i am in great confusion!!!!!!!!!!
> This error shows that the file TEST_2OOBJCAT_2OTESTCAT is already
> created and the name of the file is wrongly created by the system.
> File name should be like this TEST_2EOBJCAT_2ETESTCAT.
> As mujhtaba says that decatalog the file first but unforunatly system
> will not allow you to decatalog it.
> You just go in the folder $HOME/lilb/obj (for non-windows platform) or
> $HOME/lib/objdir (for windows) and search the file
> TEST_2OOBJCAT_2OTESTCAT and delete it and again try to compile and
> catalog the file.
> Hope this will help you.
> Thanks & Regards,
> Sarfraz Rajput
> On Jul 3, 5:18 pm, suresh <ksureshf...@gmail.com> wrote:
> > Can anyone tell me what this error message means. I was trying to
> > catalog the object
> > jsh anch ~ -->CATALOG TESTING.BP TEST.OBJCAT.TESTCAT
> > TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already
> > defined in 35637
> > ** Unable to catalog object TEST.OBJCAT.TESTCAT ** jsh anch ~ -->
> > please help me ................
> > Thanks and Regards,
> > Sureshanch- Hide quoted text -
On Mon, 2008-07-07 at 03:21 -0700, suresh wrote: > Hi,
> Thank you for the reply,
> yes, you are correct
> sorry i wrongly mentioned the error file.. the exact error file name > is > " TEST_2EOBJCAT_2ETESTCAT "(i got the error for this file name only > not for that)
> what the error means ???? i am in great confusion!!!!!!!!!!
It looks to me like your CATALOG library has become corrupt and that the entry in the .def file should not be there. This sometimes does happen when people copy subroutines lazily and do not rename the SUBROUTINE statement, however I think that the consequences of doing that were fixed a long time ago, so there is probably some other reason, such as the program being killed while trying to CATALOG and so on.
At this point, the only thing to do (sensibly anyway) is to remove the lib directory that you are working with (hopefully you are not CATALOGing directly into your main application bin and lib) and to re catalog all the programs and subroutines. This will remove the incorrect entries and start from scratch, but you won't have to recompile everything, just CATALOG everything.
jsh anch ~ -->CATALOG TESTING.BP TEST.OBJCAT.TESTCAT TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already defined in 35637 ** Unable to catalog object TEST.OBJCAT.TESTCAT ** jsh anch ~ -->
is indicating it cannot catalog the "TESTING.BP" version of this file because it "already" has a copy of the subroutine cataloged, but it's in a different file... in this case it appears the subroutine is in a file called "35637" (Presumably this occurred accidentally/someone copied the subroutine file to "35637" and then cataloged it there?). Generally, JBase keeps an inventory of subroutines and how they're mapped to .dll's/.so's, what the source is, etc., in a file (in the LIB folder) called libdef.def. Basically, when you attempt to catalog the above, jbase looks in libdef.def, and says, sorry, I've already got a copy of the subroutine and it's in a file called "35637". To fix, you need to get the bad info out of libdef.def. Typically you can do this by DECATALOG'ing. I'm not sure if you need to do:
DECATALOG TESTING.BP TEST.OBJCAT.TESTCAT
or
DECATALOG TESTING.BP 35637
but I would recommend doing both at least 2 times, then try CATALOG'ing again...
-----Original Message----- From: jBASE@googlegroups.com [mailto:jBASE@googlegroups.com] On Behalf Of
suresh Sent: Monday, July 07, 2008 3:22 AM To: jBASE Subject: Re: Unable to catalog the object - 35637
Hi,
Thank you for the reply,
yes, you are correct
sorry i wrongly mentioned the error file.. the exact error file name is " TEST_2EOBJCAT_2ETESTCAT "(i got the error for this file name only not for that)
what the error means ???? i am in great confusion!!!!!!!!!!
Thanks and Regards, Suresh.k
On Jul 4, 7:48 pm, "sarfraz.raj...@gmail.com" <sarfraz.raj...@gmail.com> wrote: > Hi,
> This error shows that the file TEST_2OOBJCAT_2OTESTCAT is already > created and the name of the file is wrongly created by the system.
> File name should be like this TEST_2EOBJCAT_2ETESTCAT.
> As mujhtaba says that decatalog the file first but unforunatly system > will not allow you to decatalog it.
> You just go in the folder $HOME/lilb/obj (for non-windows platform) or > $HOME/lib/objdir (for windows) and search the file > TEST_2OOBJCAT_2OTESTCAT and delete it and again try to compile and > catalog the file.
> Hope this will help you.
> Thanks & Regards,
> Sarfraz Rajput
> On Jul 3, 5:18 pm, suresh <ksureshf...@gmail.com> wrote:
> > Can anyone tell me what this error message means. I was trying to > > catalog the object
> > jsh anch ~ -->CATALOG TESTING.BP TEST.OBJCAT.TESTCAT > > TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already > > defined in 35637 > > ** Unable to catalog object TEST.OBJCAT.TESTCAT ** jsh anch ~ -->
> > please help me ................
> > Thanks and Regards, > > Sureshanch- Hide quoted text -
> TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already
> defined in 35637
To elaborate on what Jim said.
The subroutine name should match the source code name.
For example if your TEST.OBJCAT.TESTCAT program is a subroutine then
it should start with:
SUBROUTINE TEST.OBJCAT.TESTCAT
and not by any other name.
Also, if you change the program type from main to subroutine or
viceversa, you should first decatalog the existing program then
catalog.
To see if there is any duplicate program name use JSHOW.
For example:
jshow TEST.OBJCAT.TESTCAT
> jsh anch ~ -->CATALOG TESTING.BP TEST.OBJCAT.TESTCAT
> TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already
> defined in 35637
> ** Unable to catalog object TEST.OBJCAT.TESTCAT ** jsh anch ~ -->
> is indicating it cannot catalog the "TESTING.BP" version of this file
> because it "already" has a copy of the subroutine cataloged, but it's in a
> different file... in this case it appears the subroutine is in a file
> called "35637" (Presumably this occurred accidentally/someone copied the
> subroutine file to "35637" and then cataloged it there?). Generally, JBase
> keeps an inventory of subroutines and how they're mapped to .dll's/.so's,
> what the source is, etc., in a file (in the LIB folder) called libdef.def.
> Basically, when you attempt to catalog the above, jbase looks in libdef.def,
> and says, sorry, I've already got a copy of the subroutine and it's in a
> file called "35637". To fix, you need to get the bad info out of
> libdef.def. Typically you can do this by DECATALOG'ing. I'm not sure if
> you need to do:
> DECATALOG TESTING.BP TEST.OBJCAT.TESTCAT
> or
> DECATALOG TESTING.BP 35637
> but I would recommend doing both at least 2 times, then try CATALOG'ing
> again...
> Tom @ Proco, Inc
> 800-867-7626 x4
> t...@proman.com
> -----Original Message-----
> From: jBASE@googlegroups.com [mailto:jBASE@googlegroups.com] On Behalf Of
> suresh
> Sent: Monday, July 07, 2008 3:22 AM
> To: jBASE
> Subject: Re: Unable to catalog the object - 35637
> Hi,
> Thank you for the reply,
> yes, you are correct
> sorry i wrongly mentioned the error file.. the exact error file name
> is
> " TEST_2EOBJCAT_2ETESTCAT "(i got the error for this file name only
> not for that)
> what the error means ???? i am in great confusion!!!!!!!!!!
> > This error shows that the file TEST_2OOBJCAT_2OTESTCAT is already
> > created and the name of the file is wrongly created by the system.
> > File name should be like this TEST_2EOBJCAT_2ETESTCAT.
> > As mujhtaba says that decatalog the file first but unforunatly system
> > will not allow you to decatalog it.
> > You just go in the folder $HOME/lilb/obj (for non-windows platform) or
> > $HOME/lib/objdir (for windows) and search the file
> > TEST_2OOBJCAT_2OTESTCAT and delete it and again try to compile and
> > catalog the file.
> > Hope this will help you.
> > Thanks & Regards,
> > Sarfraz Rajput
> > On Jul 3, 5:18 pm, suresh <ksureshf...@gmail.com> wrote:
> > > Can anyone tell me what this error message means. I was trying to
> > > catalog the object
> > > jsh anch ~ -->CATALOG TESTING.BP TEST.OBJCAT.TESTCAT
> > > TEST.OBJCAT.TESTCAT The subroutine TEST_2OOBJCAT_2OTESTCAT is already
> > > defined in 35637
> > > ** Unable to catalog object TEST.OBJCAT.TESTCAT ** jsh anch ~ -->
> > > please help me ................
> > > Thanks and Regards,
> > > Sureshanch- Hide quoted text -