Hi, [identified as T24, core development, COB] is it single- or multi-thread? I mean, both DEBUG statements were hit consequently at the same session?
On Aug 5, 12:34 pm, Pratiwi Weyanti <[email protected]> wrote: > Dear All, > > I created a common variable file named : I_BAL.REQ.FEE.COMMON > Its content: > COM/BAL.REQ.FEE.COMMON/BALREQ.ACCT.GROUP, > BALREQ.MIN, > BALREQ.FEE > > I initialized all variables in routine : IT.GET.BALREQ.FEE (put in COB > batch S002). And I never assign any value to those variables other > than in this routine. > > The variables will be used by another routine that will be called in > COB batch S012. > I put debug on the routine whish using the variables: > > on the 1st time encountered debug: > _BNK/SYSTEM.END.OF.DAY3_IC.COB_5_04 AUG 2009_17:38:56_SSELECT > FBNK.GENERAL.CHARGE Selected=13 time=0secs > DEBUG statement seen > Source changed to /database/t24ic1/bnk/bnk.run/SIMAS.BP/ > IT.BALREQ.POSTAMT > 0037 DEBUG > jBASE debugger->S > 0043 FIND ACCT.COND.GROUP : '-' : ACCT.CURR IN BALREQ.ACCT.GROUP > SETTING Ap, Vp THEN > jBASE debugger->S > 0044 AMT.MINIMUM = BALREQ.MIN<Ap, Vp> > jBASE debugger->V BALREQ.ACCT.GROUP > COMMON variables > BALREQ.ACCT.GROUP : 0^27-IDR^26-IDR^25-IDR^24-IDR^23-IDR^21- > IDR^20-IDR^14-IDR^13-IDR^12-IDR^12-USD^12-SGD^11-IDR^11-USD^11-SGD^11- > EUR^11-JPY^11-AUD^10-IDR^10-USD^10-SGD^1 > 0-EUR > > on 2nd time encountered debug: > DEBUG statement seen > Source changed to /database/t24ic1/bnk/bnk.run/SIMAS.BP/ > IT.BALREQ.POSTAMT > 0037 DEBUG > jBASE debugger->S > 0043 FIND ACCT.COND.GROUP : '-' : ACCT.CURR IN BALREQ.ACCT.GROUP > SETTING Ap, Vp THEN > jBASE debugger->S > 0046 END > jBASE debugger->V BALREQ.ACCT.GROUP > COMMON variables > BALREQ.ACCT.GROUP : 0 > > Somehow it looks like the variables hold the values I initialized only > until 1st time it is used, and then it is refreshed to 0. > > Anyone know the cause of why these variables' value reset to zero > after first time used? And how to solve it? > > Thank you. > > Regards, > Pratiwi W. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
