Error in Compile any Code or Routine In Jbase 4.1

1,857 views
Skip to first unread message

Ali Neemuch

unread,
Sep 23, 2008, 2:21:02 AM9/23/08
to jBASE, ahus...@ndcacademy.org
Dear All,
I have Install R6 and R8 on same Machine and Jbase 4.1 and Jbase 5.0
every thing is working fine but when i compile any code or any routine
from R6(Jbase 4.1) they give me this error:


jsh Administrator ~ -->EB.COMPILE NDC TRG1
Current settings of bin & lib unchanged:
C:\TEMENOS\T24R6\bnk.run\bin & lib
BUILDING INSERT LIST
<compileoutput>
<warnings>
<warning>
<msg>Warning in TRG1 Found 'CRT'</msg>
<line>2</line>
<type>Incompatible with Browser, Desktop and OFS. Do not use</type>
</warning>
</warnings>
</compileoutput>
TRG1
atexit enabled
atexit enabled
atexit: done
atexit: done
cl /nologo /DWIN32 /MD /W2 /GR /EHsc -c -IC:\jbase4\4.1\include -
DJBC_OPTLEVEL2 -IGLOBUS.BP BASIC_0.c failed , command
returned a code of -1073741515
jcompile: BASIC_0.j deleted
jcompile: BASIC_0.c deleted
jcompile: Returned an error code of 8
** Unable to compile source TRG1 **

** Error [ 202 ] **
Record TRG1 is not on file
jsh Administrator ~ -->


Please Help Me :(

Regards,
ALI HUSSAIN

AM

unread,
Sep 24, 2008, 6:10:55 AM9/24/08
to jBASE
Same kind of error coming on my environment too...
Environment : T24 R8, jBase 5

COMPILE ERROR
----------------------------------------------------------
jsh R6006 ~ -->EB.COMPILE CORE.BP PK.TMP
Source directory : CORE.BP Single item : PK.TMP
Score Checks Compile Catalog
Score Checks Compile Catalog
Current settings of bin & lib unchanged:
C:\Temenos\R8\bnk\bnk.run\bin & lib
link @C:\WINDOWS\TEMP\jbuild2 >C:\WINDOWS\TEMP\jbuild3 failed ,
command returned a code of 1181
LINK : fatal error LNK1181: cannot open input file 'C:\Temenos\R8\bnk
\bnk.run\lib\objdir\RGP_2EMM0006.obj'
jcompile.exe: C:\WINDOWS\TEMP\jbuild2 deleted
jcompile.exe: C:\WINDOWS\TEMP\jbuild3 deleted
jcompile.exe: Returned an error code of 8
PK.TMP
BASIC_5.c
Source file PK.TMP compiled successfully
----------------------------------------------------------

CATALOG ERROR
----------------------------------------------------------
jsh R6006 ~ -->CATALOG CORE.BP PK.TMP
PK.TMP
Object PK.TMP cataloged successfully
link @C:\WINDOWS\TEMP\jbuild2 >C:\WINDOWS\TEMP\jbuild3 failed ,
command returned a code of 1181
LINK : fatal error LNK1181: cannot open input file 'C:\Temenos\R8\bnk
\bnk.run\lib\objdir\RGP_2EMM0006.obj'
jcompile.exe: C:\WINDOWS\TEMP\jbuild2 deleted
jcompile.exe: C:\WINDOWS\TEMP\jbuild3 deleted
jcompile.exe: Returned an error code of 8
** Unable to rebuild library C:\Temenos\R8\bnk\bnk.run\lib\lib2.dll **
----------------------------------------------------------

SUBROUTINE PK.TMP
$INSERT I_COMMON
$INSERT I_EQUATE
CRT "USELESS WORLD!"
RETURN
END

Tec Murho

unread,
Sep 25, 2008, 6:50:32 AM9/25/08
to jB...@googlegroups.com
Give user R6006 right to write on that envirronment

AM

unread,
Sep 26, 2008, 1:39:00 AM9/26/08
to jBASE
Tec,
I'm on Windows XP, and R6006 is alredy a member of Administrators
group.
I gave permissions on that Environment/Folder explicitely but of no
use.

Regards

Abdul Mutakabbir
> > > ALI HUSSAIN- Hide quoted text -
>
> - Show quoted text -

harry

unread,
Sep 26, 2008, 4:23:17 AM9/26/08
to jBASE
Hi,

If you see the below warning,

WARNING: JBC_CCOMPILER_PATH is 'C:\Program Files\Microsoft Visual
Studio .NET 2003\Vc7\bin' which does not match VC++ registry

From the above warning message we could confirm that the Compiler
variables are not set properly in the remote.cmd file. Follow the
below update and include the variables in the remote.cmd file
accordingly


The recommended compilers for Windows are Microsoft Visual Studio .NET
2003
(or) Microsoft Visual C++ Toolkit 2003. Make sure the following
compiler related paths are set as follows:

if the compiler is Microsoft Visual Studio .NET 2003
***************************************
set PATH=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin

set JBC_CCOMPILER_PATH=C:\Program Files\Microsoft Visual Studio .NET
2003\VC7

set JBC_SHAREDIDE_PATH=C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE

set INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\include

set LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\Lib


if the compiler is Microsoft Tool Kit
***************************************

set PATH=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin

set JBC_CCOMPILER_PATH=C:\Program Files\Microsoft Visual C++ Toolkit
2003

set INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include

set LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib


NOTE: Here JBC_SHAREDIDE_PATH is not required.

Rgds,
Harry
> > - Show quoted text -- Hide quoted text -

sarfraz...@gmail.com

unread,
Sep 26, 2008, 3:12:18 AM9/26/08
to jBASE
Hi AM,

Buddy this is R08 Model Bank Error.

If you want to resolve it, then you can contact me locally as we were
colleagues because I can't send you the solution over internet.

Regards,

Sarfraz Rajput
> > - Show quoted text -- Hide quoted text -

Brad Burleson

unread,
Sep 26, 2008, 8:34:39 PM9/26/08
to jB...@googlegroups.com
On Fri, Sep 26, 2008 at 12:12 AM, sarfraz...@gmail.com <sarfraz...@gmail.com> wrote:
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
[...]

Oops, guess that got missed by the OP.  Kinda confusing rules anyways.

I haven't tested this with jBASE 5.x, but with the more recent releases of 4.1.6.x I'll note that to build correctly you only need to make sure the following variables are set:  LIB, INCLUDE, and PATH.

For example, with Visual Studio Express 2008 installed (on my D drive) under jBASE 4.1.6.3, I manually added the following to my environment:

INCLUDE=D:\Program Files\Microsoft Visual Studio 9.0\VC\include
LIB=D:\Program Files\Microsoft Visual Studio 9.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

(I believe that unless you're going to mix jBC and C, you don't need the second directory in LIB)

And added the following to my PATH:

PATH=D:\Program Files\Microsoft Visual Studio 9.0\VC\bin;D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

I'll note that 'jdiag' complains that I don't have a compiler installed, but it works otherwise.  I did try adding JBC_CCOMPILER_PATH to see if that made jdiag happy but no such luck.  Maybe because I installed the "Express" edition?

Brad.


Jim Idle

unread,
Sep 27, 2008, 6:50:43 PM9/27/08
to jB...@googlegroups.com
On Fri, 2008-09-26 at 17:34 -0700, Brad Burleson wrote:
On Fri, Sep 26, 2008 at 12:12 AM, sarfraz...@gmail.com <sarfraz...@gmail.com> wrote:
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

[...]

Oops, guess that got missed by the OP.  Kinda confusing rules anyways.

You're fired.


I haven't tested this with jBASE 5.x, but with the more recent releases of 4.1.6.x I'll note that to build correctly you only need to make sure the following variables are set:  LIB, INCLUDE, and PATH.

This is good to know if it works - most peopel only get it to work by starting the SDK shell then copying all the settings.


For example, with Visual Studio Express 2008 installed (on my D drive) under jBASE 4.1.6.3, I manually added the following to my environment:

INCLUDE=D:\Program Files\Microsoft Visual Studio 9.0\VC\include
LIB=D:\Program Files\Microsoft Visual Studio 9.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

(I believe that unless you're going to mix jBC and C, you don't need the second directory in LIB)

Well, the Windows SDK added bug fixes galore and so on. Best to use the latest Windows Server 2003 SDK (which is a stupid name as it isn't restricted to Windows 2003 Server). You need to upgrade your SDK, when you all get v6.1. Once again, you're fired.


And added the following to my PATH:

PATH=D:\Program Files\Microsoft Visual Studio 9.0\VC\bin;D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

I'll note that 'jdiag' complains that I don't have a compiler installed, but it works otherwise.  I did try adding JBC_CCOMPILER_PATH to see if that made jdiag happy but no such luck.  Maybe because I installed the "Express" edition?

Possibly - install the Windows 2003 Server SDK. But, you're fired anyway. Fired fired fired fired...fired.

Jim

AM

unread,
Oct 7, 2008, 6:42:06 AM10/7/08
to jBASE
Brad,
I've set the environment variables as you mentioned on PATH, LIB and
INCLUDE... but no progress.
So, Jim is rite, you're Fired! :)

Jim,
I've installed Windows 2003 SDK, and set the environment variables
accordingly too... again... no progress.
So, Brad You're Fired too.. :P

Sarfaraz,
Brother, I'll visit your place soon... And plz don't give me any
chance to fire you too... :)

Following is my current Error Status:
COMPILE ERROR
-----------------------------------------------------------------------------
jsh R6006 ~ -->EB.COMPILE CORE.BP PK.TMP
Source directory : CORE.BP Single item : PK.TMP
Score Checks Compile Catalog
Score Checks Compile Catalog
Current settings of bin & lib unchanged:
C:\Temenos\R8\bnk\bnk.run\bin & lib
link @C:\WINDOWS\TEMP\jbuild2 >C:\WINDOWS\TEMP\jbuild3 failed ,
command returned a code of 1181
LINK : fatal error LNK1181: cannot open input file 'C:\Temenos\R8\bnk
\bnk.run\lib\objdir\RGP_2EMM0006.obj'
jcompile.exe: C:\WINDOWS\TEMP\jbuild2 deleted
jcompile.exe: C:\WINDOWS\TEMP\jbuild3 deleted
jcompile.exe: Returned an error code of 8
PK.TMP
BASIC_16.c
C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(259) :
warning C4616: #pragma warning : warnin
g number '6530' out of range, must be between '4001' and '4999'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include
\stdlib.h(773) : warning C4616: #pragma warning : warni
ng number '6540' out of range, must be between '4001' and '4999'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include
\string.h(142) : warning C4616: #pragma warning : warni
ng number '6059' out of range, must be between '4001' and '4999'
C:\Program Files\Microsoft Visual Studio 9.0\VC\include
\string.h(267) : warning C4616: #pragma warning : warni
ng number '6059' out of range, must be between '4001' and '4999'
Source file PK.TMP compiled successfully
<compileoutput><errors></errors><warnings><warning><msg>Java Standards
was not checked! Code 3 was returned.</
msg><line></line><type>Ensure your T24 java environment is configured
correctly.</type></warning><warning><msg
>Warning - found 'CRT'</msg><line>9</line><type>Incompatible with Browser, Desktop and OFS. Do not use</type><
/warning></warnings><codereviews></codereviews><standards></
standards><RatingDetail><CodeLines>0</CodeLines><P
araLines>0</ParaLines><Nests>0</Nests><Conditions>0</
Conditions><Gotos>0</Gotos><SameLine>0</SameLine><Labels>
0</Labels><Comments>0</Comments><Rating>0</Rating><CurrentRating>0</
CurrentRating></RatingDetail></compileoutput>

CATALOG ERROR
-----------------------------------------------------------------------------
jsh R6006 ~ -->CATALOG CORE.BP PK.TMP
PK.TMP
Object PK.TMP cataloged successfully
link @C:\WINDOWS\TEMP\jbuild2 >C:\WINDOWS\TEMP\jbuild3 failed ,
command returned a code of 1181
LINK : fatal error LNK1181: cannot open input file 'C:\Temenos\R8\bnk
\bnk.run\lib\objdir\RGP_2EMM0006.obj'
jcompile.exe: C:\WINDOWS\TEMP\jbuild2 deleted
jcompile.exe: C:\WINDOWS\TEMP\jbuild3 deleted
jcompile.exe: Returned an error code of 8
** Unable to rebuild library C:\Temenos\R8\bnk\bnk.run\lib\lib2.dll **


JDIAG STATUS
-----------------------------------------------------------------------------
jsh R6006 ~ -->JDIAG
jdiag - jBASE diagnostic '$Revision: 1.15 $'

System Information
==================

System : WinNT NDC100 5.1 i386
OS Release : Windows XP Pro, Build 2600, Service Pack
3
NT User : R6006
Time : Tue Oct 07 16:39:34 2008

Environment
===========

JBCPORTNO : Not Set
JBCRELEASEDIR : 'C:\jbase5\5.0'
JBCGLOBALDIR : 'C:\jbase5\5.0'
WARNING: JBCDATADIR is not set, Default 'C:\jbase5\5.0\jbase_data'
WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
HOME : 'C:\Temenos\R8\bnk\bnk.run'
JEDIFILEPATH : 'C:\Temenos\R8\bnk\bnk.run'
JEDIFILENAME_MD : 'VOC'
JEDIFILENAME_SYSTEM : 'C:\jbase5\5.0\src\SYSTEM'
SYSTEM File is (DICT) : 'C:\jbase5\5.0\src\SYSTEM]D'
RELEASE Information : Major 5.0 , Minor 9 , Patch 0184 (Change
61532)
Spooler dir (JBCSPOOLERDIR) : 'C:\Temenos\R8\bnk\bnk.run\jspooler'
JBCEMULATE : 'prime'
TEMP file path : 'C:\WINDOWS\TEMP\'
WARNING: Cannot access Executable path 'C:\Program Files\Java
\jdk1.6.0_07\jre\bin\classic', error 2
WARNING: Cannot access Executable path 'C:\Program Files\Microsoft
Visual Studio 9.0\VC\bin\bin', error 2
Object path (JBCOBJECTLIST) : 'C:\Temenos\R8\bnk\bnk.run\lib;C:\Temenos
\R8\bnk\bnk.run\globuslib'
WARNING: From checking the registry, It appears that VC++ is not
loaded
WARNING: JBC_CCOMPILER_PATH is set to 'C:\Program Files\Microsoft
Visual Studio 9.0\VC\bin'
jBASE Compiler Run-time : 'C:\jbase5\5.0\config\system.properties'
Program dir (JBCDEV_BIN) : 'C:\Temenos\R8\bnk\bnk.run\bin'
Subroutine dir (JBCDEV_LIB) : 'C:\Temenos\R8\bnk\bnk.run\lib'
------------------------------------------------------------------------------------------

What to do now?... F1 F1 F1 :)

Regards,

AM

On Sep 28, 3:50 am, Jim Idle <j...@temporal-wave.com> wrote:
> On Fri, 2008-09-26 at 17:34 -0700, Brad Burleson wrote:

Jim Idle

unread,
Oct 7, 2008, 10:35:03 AM10/7/08
to jB...@googlegroups.com
On Tue, 2008-10-07 at 03:42 -0700, AM wrote:
Brad,
I've set the environment variables as you mentioned on PATH, LIB and
INCLUDE... but no progress.
So, Jim is rite, you're Fired! :)
Yep.

Jim,
I've installed Windows 2003 SDK, and set the environment variables
accordingly too... again... no progress.
So, Brad You're Fired too.. :P

Yep, that is right - Brad is fired always.

As I said, you do not have the environment set up correctly yet, so you are fired.


Try this:

ON your menus you will now have Windows 2003 SDK 6.1, or something like that, under which you will find a CMD shell menu option. Start that, then start the jBASE shell from there. You should find that everything works.

I am guessing that nobody at TEMENOS cares about this issue - it comes up all the time, I tell people to report it, but there are no support bulletins, no advice, nobody seems to want to report it to the jBASE guys to fix this up once and for all, and despite some of those guys being on this list, nothing seems to happen. It can't take more than an afternoon's effort to fix this up and provide a small utility that works out what the compiler is and sets variables and so on accordingly.

Jim

bernard solomon

unread,
Oct 9, 2008, 8:35:27 AM10/9/08
to jB...@googlegroups.com

Dear all,
I wish to purchase an online replication software for jbase 4.1, I would appreciate some help with names of softwares for consideration.

Thanks

Bernard


Jim Myers

unread,
Oct 10, 2008, 10:49:58 AM10/10/08
to jB...@googlegroups.com
Hi Bernard...

I know of one called "Double Take".

Try it, its a good one.


-Best Regards


==================
Jim Jerry Myers
Global Solutions Limited.
42, Giffard Road,
Cantoments.

P. O. Box CT-2946
Accra,
Ghana.

Mobile +233 209513888

skype id => jimjerrymyers

==================
Mel Brooks  - "Tragedy is when I cut my finger. Comedy is when you fall into an open sewer and die."

Rick Weiser

unread,
Oct 10, 2008, 11:12:06 AM10/10/08
to jBASE
Bernard,

Just curious why you are not using the jBASE Transaction Journal
option. This will journal the data and can immediately replay that
journal on another jBASE server.

Rick

sarfraz...@gmail.com

unread,
Oct 13, 2008, 12:48:08 AM10/13/08
to jBASE
Dear Jim / Brad / AM / All,

Previously I mean to say that some libraries files are missing in lib
folder in T24 R8 Model Bankthat why its give you Link error because
RGP_2EMM0006.obj entry in the file but T24 is not able to find out in
library.

So there is nothing to fire me Mr. Jim.

That is why I told to AM to come to me because I already set this
problem and now T24 is running fit and fine.

Thank you very much all of you.

Bye


On Oct 7, 2:42 pm, AM <mutaka...@gmail.com> wrote:
> Brad,
> I've set the environment variables as you mentioned on PATH, LIB and
> INCLUDE... but no progress.
> So, Jim is rite, you're Fired! :)
>
> Jim,
> I've installed Windows 2003 SDK, and set the environment variables
> accordingly too... again... no progress.
> So, Brad You're Fired too.. :P
>
> Sarfaraz,
> Brother, I'll visit your place soon... And plz don't give me any
> chance to fire you too... :)
>
> Following is my current Error Status:
>                     COMPILE ERROR
> ---------------------------------------------------------------------------­--
> ---------------------------------------------------------------------------­--
> jsh R6006 ~ -->CATALOG CORE.BP PK.TMP
> PK.TMP
> Object PK.TMP cataloged successfully
> link @C:\WINDOWS\TEMP\jbuild2 >C:\WINDOWS\TEMP\jbuild3 failed ,
> command returned a code of 1181
> LINK : fatal error LNK1181: cannot open input file 'C:\Temenos\R8\bnk
> \bnk.run\lib\objdir\RGP_2EMM0006.obj'
> jcompile.exe: C:\WINDOWS\TEMP\jbuild2 deleted
> jcompile.exe: C:\WINDOWS\TEMP\jbuild3 deleted
> jcompile.exe: Returned an error code of 8
> ** Unable to rebuild library C:\Temenos\R8\bnk\bnk.run\lib\lib2.dll **
>
>                      JDIAG STATUS
> ---------------------------------------------------------------------------­--
> ---------------------------------------------------------------------------­---------------
> > - Show quoted text -- Hide quoted text -

Mayur

unread,
Nov 19, 2008, 6:49:24 AM11/19/08
to jBASE
Hello Everybody,

I too face the same problem. When i try to compile any routine (even
the T24 internal routines), get this error(file attached )

any assistance or hint is appreciated

regards
mayur

On Oct 13, 5:48 am, "sarfraz.raj...@gmail.com"
<sarfraz.raj...@gmail.com> wrote:
> Dear Jim / Brad / AM / All,
>
> Previously I mean to say that some libraries files are missing in lib
> folder inT24R8 Model Bankthat why its give you Link error because
> RGP_2EMM0006.obj entry in the file butT24is not able to find out in
> library.
>
> So there is nothing to fire me Mr. Jim.
>
> That is why I told to AM to come to me because I already set this
> problem and nowT24is running fit and fine.
>
> Thank you very much all of you.
>
> Bye
>
> On Oct 7, 2:42 pm, AM <mutaka...@gmail.com> wrote:
>
>
>
> > Brad,
> > I've set theenvironmentvariables as you mentioned on PATH, LIB and
> > msg><line></line><type>Ensure yourT24javaenvironmentis configured
> > > >         IMPORTANT: TypeT24: at the start of the subject line for

Mayur

unread,
Nov 19, 2008, 6:53:54 AM11/19/08
to jBASE
hello everybody

get the error while compiling any routine.

Error Messages

jsh temenos ~ -->EB.COMPILE GLOBUS.BP E.PC.READ.TRANS
Source directory : GLOBUS.BP Single item : E.PC.READ.TRANS
Score Checks Compile Catalog
Score Checks Compile cl /nologo /DWIN32 /MD /W2 /GR /EHsc -c -IC:
\jbase5\5.0\include -DJBC_OPTLEVEL2 -IGLOBUS.BP BASIC_15.c failed ,
command returned a code of -1073741515
jcompile: BASIC_15.j deleted
jcompile: BASIC_15.c deleted
jcompile: Returned an error code of 8
Catalog
Dev bin & lib currently set to:
C:\T24\bnk\bnk.run/bin & lib
Now changed to :
C:\T24\bnk\bnk.run\globusbin & lib
Dev bin & lib now reset to:
C:\T24\bnk\bnk.run/bin & lib
E.PC.READ.TRANS
** Unable to compile source E.PC.READ.TRANS **
<compileoutput><errors></errors><warnings><warning><msg>Java Standards
was not checked! Code 2 was returned.</msg><line></line><type>Ensure
your T24 java environment is configured correctly.</type></warning></
warnings><codereviews></codereviews><standards><standard><msg>Failure
to comply with Standards. File variables mustbe F., record variables
R., do not break call overmultiple lines. $INSERT I_OPF ;* Open Stmt
Entry (this is faster)</msg><line>74</line></standard></
standards><RatingDetail><CodeLines>0</CodeLines><ParaLines>0</
ParaLines><Nests>0</Nests><Conditions>0</Conditions><Gotos>0</
Gotos><SameLine>100</SameLine><Labels>-40</Labels><Comments>-3</
Comments><Rating>57</Rating><CurrentRating>57</CurrentRating></
RatingDetail></compileoutput>

any assistance appreciated

regards
mayur

On Oct 13, 5:48 am, "sarfraz.raj...@gmail.com"
<sarfraz.raj...@gmail.com> wrote:
> Dear Jim / Brad / AM / All,
>
> Previously I mean to say that some libraries files are missing in lib
> folder inT24R8 Model Bankthat why its give you Link error because
> RGP_2EMM0006.obj entry in the file butT24is not able to find out in
> library.
>
> So there is nothing to fire me Mr. Jim.
>
> That is why I told to AM to come to me because I already set this
> problem and nowT24is running fit and fine.
>
> Thank you very much all of you.
>
> Bye
>
> On Oct 7, 2:42 pm, AM <mutaka...@gmail.com> wrote:
>
>
>
> > Brad,
> > I've set theenvironmentvariables as you mentioned on PATH, LIB and
> > msg><line></line><type>Ensure yourT24javaenvironmentis configured
> > > >         IMPORTANT: TypeT24: at the start of the subject line for

Jim Idle

unread,
Nov 19, 2008, 10:53:20 AM11/19/08
to jB...@googlegroups.com
On Wed, 2008-11-19 at 03:53 -0800, Mayur wrote:
hello everybody

get the error while compiling any routine.

What is you jdiag output?

Error Messages

jsh temenos ~ -->EB.COMPILE GLOBUS.BP E.PC.READ.TRANS
Source directory : GLOBUS.BP Single item : E.PC.READ.TRANS
Score Checks Compile Catalog
Score Checks Compile cl  /nologo /DWIN32 /MD /W2 /GR /EHsc -c  -IC:
\jbase5\5.0\include -DJBC_OPTLEVEL2 -IGLOBUS.BP BASIC_15.c failed ,
command returned a code of -1073741515

This is a windows error message, though not one I recognize. Turn it into hex  and look it up (remember that it isn't really negative, it is just an unsigned 32 bit number printed as signed - this should really be fixed. Make sure that you can call the CL command from the shell - if you cannot then EB.COMPILE/jcompile will be unable to call it either.


jcompile: BASIC_15.j deleted
jcompile: BASIC_15.c deleted
jcompile: Returned an error code of 8
Catalog
Dev bin & lib currently set to:
        C:\T24\bnk\bnk.run/bin & lib
Now changed to :
        C:\T24\bnk\bnk.run\globusbin & lib
Dev bin & lib now reset to:
        C:\T24\bnk\bnk.run/bin & lib
E.PC.READ.TRANS
 ** Unable to compile source E.PC.READ.TRANS **
<compileoutput><errors></errors><warnings><warning><msg>Java Standards
was not checked! Code 2 was returned.</msg><line></line>

Strange that it says "Standards not checked" but then tells you ...


<type>Ensure
your T24 java environment is configured correctly.</type></warning></
warnings><codereviews></codereviews><standards><standard><msg>Failure
to comply with Standards. File variables mustbe F., record variables
R., do not break call overmultiple lines. $INSERT I_OPF ;* Open Stmt
Entry (this is faster)</msg><line>74</line>

Well, it is saying that you are opening a file to a variable that isn't called F.something and reading a record into a file called R.something. The message about multiple lines makes no sense without context I think [report this to the helpdesk and suggest it is improved].

Jim

Doug

unread,
Nov 19, 2008, 1:17:01 PM11/19/08
to jB...@googlegroups.com
Hi All,
 
We are currently running jBase 3.4 on Windows Server 2003. Data entry people are running terminal emulators (NetTerm) to enter, edit, look-up, etc.
 
And we have been limited to working with data in western character (Romanji, apparently) though a principal portion of our business involves Japanese addresses and the use of Kanji characters.
 
So we are glacially investigating upgrading to jBase 4.1 which supports Unicode and will allow the use of Kanji characters (we hope).
 
We've contacted jBase directly but, I was wondering if anyone out there has experience already working with Kanji characters and if they might be willing to share tips, pitfalls, the odd bit of code, a jelly doughnut, whatever.
 
It would be very much appreciated.
 
Thanks,
 
Doug.

Jim Idle

unread,
Nov 19, 2008, 6:49:54 PM11/19/08
to jB...@googlegroups.com
On Wed, 2008-11-19 at 10:17 -0800, Doug wrote:
Hi All,
 
We are currently running jBase 3.4 on Windows Server 2003. Data entry people are running terminal emulators (NetTerm) to enter, edit, look-up, etc.
 
And we have been limited to working with data in western character (Romanji, apparently) though a principal portion of our business involves Japanese addresses and the use of Kanji characters.
 
So we are glacially investigating upgrading to jBase 4.1 which supports Unicode and will allow the use of Kanji characters (we hope).

In fact the jBASE 4.1 stuff was first tested in Japan with Kanji, so you should be in good shape.


 
We've contacted jBase directly but, I was wondering if anyone out there has experience already working with Kanji characters and if they might be willing to share tips, pitfalls, the odd bit of code, a jelly doughnut, whatever.

Basically, there isn't much to it on the jBASE side but the kind of things you need to watch out for are:

1) You need to use LENB specifically sometimes LEN always gives the character length, not the number of bytes;
2) You will need to use special functions to test the display width of strings and so on. Some characters in Kanji require 2 screen display positions - don't hack this kind of thing. Doing it properly the first time is best;
3) You might find you need to change some conversion and/or correlative codes to ones that are unicode aware;
4) You may find it difficult to translate some screens so that the Kanji equivalent prompts  fit into the space you were using in ASCII;
5) If using terminal emulators rather than GUIs, the only ones that work well are Vandyke's CRT and Rasmussen Software's terminal emulator;
6) Update your software to be Unicode aware, not Kanji aware, then you can move to other languages a lot easier;
7) Basically, most of the work is going to be in your application;

Jim

Doug

unread,
Nov 19, 2008, 7:29:20 PM11/19/08
to jB...@googlegroups.com
Jim,
 
Thanks for all this. I'm sure that more questions will pop up but this is a great start.
 
Cheers,
 
Doug.


From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of Jim Idle
Sent: Wednesday, November 19, 2008 3:50 PM
To: jB...@googlegroups.com
Subject: Re: Working with Kanji in Jbase 4.1

Reply all
Reply to author
Forward
0 new messages