HI Igor,

   I dont think there is any problem here.  Please read Pawel's  comment
above in the thread..  when you compile a program in jbase release higher
than 4.1 ,   a shared library file is created along with the executable
binary .  The Dup which you are seeing is not an issue , it is how jbase
treats programs.


Thanks and Regards,
Rashid

On Mon, Jul 5, 2010 at 11:11 AM, Igor Micev <[email protected]> wrote:

> Hi
>
> jsh T24MIG ~ -->echo $PATH
> /jb/bin:/jb/config:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/
> sbin:/usr/java
> 14/jre/bin:/usr/java14/bin:.:/usr/local/bin:/cgl/t24mig/bnk.run/
> globuspatchbin:/
> cgl/t24mig/bnk.run/bin:/cgl/t24mig/bnk.run/globusbin:/usr/ccs/bin:/usr/
> ucb
> jsh T24MIG ~ -->
> jsh T24MIG ~ -->echo $JBCDEV_BIN
> /cgl/t24mig/bnk.run/bin
> jsh T24MIG ~ -->
>
> On Jul 4, 4:37 am, "Sudhakar-\"Dare to Bare\""
> <[email protected]> wrote:
> > Hi,
> >
> >   This issue is because of the PATH variable provided in the remote.cmd
> or
> > .profile. Could you please send me the output of the following commands.
> >
> > jsh ~>echo $PATH
> > jsh ~>echo $JBCDEV_BIN
> >
> > Regards,
> > Sudhakar
> >
> >
> >
> > On Sat, Jul 3, 2010 at 1:50 AM, Pawel (privately) <[email protected]>
> wrote:
> > > Igor,
> >
> > > I did not understand much from your post.
> >
> > > Please keep in mind that jBASE programs (since 4.1) are compiled to
> > > excutable (../bin/MAP.MANAGER) and library (../bin/MAP.MANAGER.so) at
> > > the same time.
> > > This is done to improve performance of (other) jBASE programs.
> >
> > > I belive that when you use "EXECUTE 'MAP.MANGAGER'" in your jBASE
> > > program shared library will be loaded and apropriate symbol from it
> > > called. No (separate) process from OS point of view will be launched -
> > > instead jBASE will launch thread for you (pthreads) and execute what
> you
> > > asked. Remember that in such cases you can not observe library changes
> > > untill logged off (you may compile as much you want ;)).
> >
> > > Binary program will only be called when you launch it via non EXECUTE
> > > method  (eg. from bash shell) or when you delete *.so/*.so.el files.
> > > Changes are seen immediately (call it from other shell prompt please).
> >
> > > Hope this helps.
> >
> > > Kind regards
> > > Pawel
> >
> > > Dnia 2-07-2010 o godz. 17:14 Igor Micev napisaƂ(a):
> > > > Hi All,
> > > > I need this immediately!
> >
> > > > There is a routine MAP.MANAGER with duplicate executable
> >
> > > > jsh T24MIG ~ -->jshow -c MAP.MANAGER
> > > > Executable:          /cgl/t24mig/bnk.run/bin/MAP.MANAGER.so
> > > >                      jBC main() version 4.1 Fri Jul  2 16:57:31 2010
> > > >                      jBC main() source file MAPPING.BP
> > > > Executable (DUP!!):  /cgl/t24mig/bnk.run/bin/MAP.MANAGER
> > > >                      jBC main() version 4.1 Fri Jul  2 16:57:31 2010
> > > >                      jBC main() source file MAPPING.BP
> >
> > > > when i run it the first time it goes in DEBUG  and continuing with Y
> > > > the routine ends, the second time i run it, there are no problems.
> >
> > > > I make DECATALOG, log off and log in, and make EB.COMPILE again for
> > > > the routine and the same situation. In ./bin/ there are files
> > > > MAP.MANAGER, bin/MAP.MANAGER.so AND bin/MAP.MANAGER.so.el
> >
> > > > This is case only for this routine, for other routines there are no
> > > > files with extensions  .so  and  .so.sl
> >
> > > > Can anyone suggest something how to resolve this problem?
> >
> > > > Regards
> > > > Igor Micev
> >
> > > > --
> > > > Please read the posting guidelines at:
> > > >http://groups.google.com/group/jBASE/web/Posting%20Guidelines
> >
> > > > IMPORTANT: Type T24: at the start of the subject line for questions
> > > > specific to Globus/T24
> >
> > > > To post, send email to [email protected]
> > > > To unsubscribe, send email to [email protected]
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/jBASE?hl=en
> >
> > > --
> > > Please read the posting guidelines at:
> > >http://groups.google.com/group/jBASE/web/Posting%20Guidelines
> >
> > > IMPORTANT: Type T24: at the start of the subject line for questions
> > > specific to Globus/T24
> >
> > > To post, send email to [email protected]
> > > To unsubscribe, send email to [email protected]
> > > For more options, visit this group at
> > >http://groups.google.com/group/jBASE?hl=en
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to