What does 'jstat *{filename}*' display?
Check the file being written to for corruption, e.g.
jcheck {*filename}*
When you say "*the same program is worked fine in another environment* "is
it writing to the same file?
Dan
On Sat, Mar 29, 2014 at 5:59 AM, KARTHIK V <[email protected]> wrote:
> Hi All,
>
> I faced a problem while writing a record in JBASE with the id length as
> 105 characters. The error code is 32768.
>
> *Sample program.*
> 0010 ID =
> '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111'
> 0012 RC = ''
> 0013 WRITE RC TO F.FN, ID SETTING WRITE.ERR ON ERROR
> 0014 CRT 'Cannot write ':ID:' to ':FN ;* Write error
>
> Cannot write
> 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
> to FJPA.AC.STMT.SEGMENT.ENTRY
>
> 0017 DELETE F.FN, ID SETTING DEL.ERR ON ERROR ;* Delete it
> 0018 CRT 'Cannot delete ':ID:' from ':FN ;* Delete error
>
> *But the same program is worked fine in another environment. *
>
> *jdiag information of the problematic environment *
>
> System Information
> ==================
>
> System : Linux maa1L3devlx3 2.6.18-194.el5.#1 SMP Tue
> Mar 16 21:52:39 EDT 2010 x86_64
> OS Release : Red Hat Enterprise Linux Server release 5.5
> (Tikanga)
> UNIX User : r13sardev (uid 517, euid 517)
> Tty name : /dev/pts/8
> Time : Sat Mar 29 15:21:45 2014
>
> Environment
> ===========
>
> JBCPORTNO : Not Set
> TAFC_HOME : '/t24l3dev/glosoft/TAFC_R13_GA'
> JBCGLOBALDIR : '/t24l3dev/glosoft/TAFC_R13_GA'
> JBCDATADIR : '/t24l3dev/glosoft/TAFC_R13_GA/jbase_data'
> WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> HOME : '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run'
> JEDIFILEPATH : '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run'
> JEDIFILENAME_MD :
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/VOC'
> JEDIFILENAME_SYSTEM :
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/SYSTEM'
> RELEASE Information : Major 13.0 , Minor 0.0 , Patch (Change
> 107068)
> Spooler dir (JBCSPOOLERDIR) :
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/jspooler'
> JBCEMULATE : 'prime'
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/bin', error 2
> WARNING: Cannot access Executable path '/usr/ccs/bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/bin', error 2
> WARNING: Cannot access Executable path '/usr/ccs/bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/bin', error 2
> WARNING: Cannot access Executable path '/usr/ccs/bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004bin', error 2
> WARNING: Cannot access Executable path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/bin', error 2
> WARNING: Cannot access Executable path '/usr/ccs/bin', error 2
> WARNING: Cannot access Library path '/usr/ccs/lib', error 2
> Object path (JBCOBJECTLIST) :
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/R13lib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/RGlib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/jpmclib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/locallib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/t24lib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/lib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004lib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800005lib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004lib:/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/tamlib:/t24l3dev/glosoft/TAFC_R13_GA/XMLORACLE/lib:/t24l3dev/glosoft/TAFC_R13_GA/XMLORACLE/lib'
> WARNING: Cannot access Object path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/locallib', error 2
> WARNING: Cannot access Object path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004lib', error 2
> WARNING: Cannot access Object path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800005lib', error 2
> WARNING: Cannot access Object path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/GR0800004lib', error 2
> WARNING: Cannot access Object path
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/tamlib', error 2
> Compiler : gcc gcc (GCC) 4.1.2 20080704 (Red Hat
> 4.1.2-48)
> jBASE Compiler Run-time :
> '/t24l3dev/glosoft/TAFC_R13_GA/config/system.properties'
> Program dir (JBCDEV_BIN) :
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/jpmcbin'
> Subroutine dir (JBCDEV_LIB) :
> '/t24l3dev/Bankareas/r13sardev/bnk/bnk.run/jpmclib'
> Max open files : 1024
>
> *jdiag information of the environment where is no problem*
>
>
> System Information
> ==================
>
> System : AIX maa1devbld10 1.7 0009E9DAD400
> OS Release : 7.1.1.0
> UNIX User : acmaint3 (uid 251, euid 251)
> Tty name : /dev/pts/7
> Time : Sat Mar 29 15:23:04 2014
>
> Environment
> ===========
>
> JBCPORTNO : Not Set
> TAFC_HOME : '/glosoft/TAFC_R13_SP2'
> JBCGLOBALDIR : '/glosoft/TAFC_R13_SP2'
> WARNING: JBCDATADIR is not set, Default '/glosoft/TAFC_R13_SP2/jbase_data'
> WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
> HOME :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run'
> JEDIFILEPATH :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run'
> JEDIFILENAME_MD :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run/VOC'
> JEDIFILENAME_SYSTEM :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run/SYSTEM'
> RELEASE Information : Major 13.0 , Minor 0.2 , Patch (Change
> 110632)
> Spooler dir (JBCSPOOLERDIR) :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run/jspooler'
> JBCEMULATE : 'prime'
> WARNING: Cannot access Executable path '/usr/apache-ant/bin', error 2
> Object path (JBCOBJECTLIST) :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run/lib:/glodev3/bcparea/acmaint3/TestBase/TestBase.run/t24lib'
> jBASE Compiler Run-time :
> '/glosoft/TAFC_R13_SP2/config/system.properties'
> Program dir (JBCDEV_BIN) :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run/bin'
> Subroutine dir (JBCDEV_LIB) :
> '/glodev3/bcparea/acmaint3/TestBase/TestBase.run/lib'
> Max open files : 65534
>
> *Could some one tell me is this a problem with the Linux environment or do
> we have any setup at jbase level to control the length of id of the file.
> Thanks in advance.*
>
>
> *Regards,*
> *Karthik V*
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> 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
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.