Problem cataloging subroutines in old version of jbase

88 views
Skip to first unread message

troyd1

unread,
Apr 16, 2019, 3:00:02 PM4/16/19
to jBASE
We are in the process of upgrading to a newer version of jbase, but the old server is on 3.4.6 on linux.  

I have inherited this system, so I am not real sure how everything was set up.

When I try to catalog a subroutine, it creates a new file in /jbase/lib instead of updating the object file that already has that subroutine in it.  If I do  jshow -c subroutine name, it shows as a dup.  The original catalog and the one that I just did.  It will also not let me decatalog the original either.  Any suggestions would be greatly appreciated.

The original object file has a different owner, but the same group and has 777 permissions, so i should be able to operate on that file.


Dick Thiot

unread,
Apr 16, 2019, 8:53:21 PM4/16/19
to jb...@googlegroups.com
jBASE drives off of either environment variables or options on the catalog command to determine which lib file to use.  I haven't used the command line options much but if you are interested this should help - https://docs.jbase.com/49435-compilation/jbc.  If you are interested in setting environment variables then look here - https://docs.jbase.com/environment-variables.  Under the Development section see JBCDEV_BIN and JBCDEV_LIB.  The one that you are interested in from your post is JBCDEV_LIB for subroutines.  Programs produce executables and subroutines are loaded into shared libraries.

Dick T.

--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jB...@googlegroups.com
To unsubscribe, send email to jBASE-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbase+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Clifford Ponce

unread,
May 17, 2019, 2:49:58 PM5/17/19
to jBASE
You will want to set the environment variables JBCDEV_BIN and JBCDEV_LIB to where you will be storing the binaries. Set the environment variable JBCOBJECTLIST to contain the paths of the system binaries and your binaries.
Reply all
Reply to author
Forward
0 new messages