--
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 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
--
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 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
Please find the relevant part of coding and screen shot of PGM.FILE.
As said before, this code works fine thru mainline but not in BATCH
mode. The only difference is JOURNAL.UPDATE is used in mainline
program and I removed this in the BATCH mode.
Y.NO.OF.FACI = DCOUNT(R.CAL.FACI,@FM)
FOR I = 1 TO Y.NO.OF.FACI
IDD = R.CAL.FACI<I>
CALL F.READ(FN.API.SL.FACI.BALANCES,IDD,R.API.SL.FACI.BALANCES,F.API.SL.FACI.BALANCES,Y.LM.ERR)
FIND Y.YEAR.MONTH IN
R.API.SL.FACI.BALANCES<API.SFB.YEAR.MONTH> SETTING F.FM,F.VM,F.SM THEN
R.API.SL.FACI.BALANCES<API.SFB.LIBOR.LCY,F.VM> += R.CAL.LIBOR.LCY<I>
R.API.SL.FACI.BALANCES<API.SFB.MARGIN.LCY,F.VM> +=
R.CAL.MARGIN.LCY<I>
R.API.SL.FACI.BALANCES<API.SFB.LIBOR.FCY,F.VM> += R.CAL.LIBOR.FCY<I>
R.API.SL.FACI.BALANCES<API.SFB.MARGIN.FCY,F.VM> +=
R.CAL.MARGIN.FCY<I>
END ELSE
R.API.SL.FACI.BALANCES<API.SFB.YEAR.MONTH,-1> = Y.YEAR.MONTH
R.API.SL.FACI.BALANCES<API.SFB.OUTS.AMOUNT,-1> = 0
R.API.SL.FACI.BALANCES<API.SFB.DRAWDOWN,-1> = 0
R.API.SL.FACI.BALANCES<API.SFB.REPAYMENT,-1> = 0
R.API.SL.FACI.BALANCES<API.SFB.LIBOR.LCY,-1> +=
R.CAL.LIBOR.LCY<Y.FM>
R.API.SL.FACI.BALANCES<API.SFB.MARGIN.LCY,-1> +=
R.CAL.MARGIN.LCY<Y.FM>
R.API.SL.FACI.BALANCES<API.SFB.LIBOR.FCY,-1> +=
R.CAL.LIBOR.FCY<Y.FM>
R.API.SL.FACI.BALANCES<API.SFB.MARGIN.FCY,-1> +=
R..CAL.MARGIN.FCY<Y.FM>
END
CALL F.WRITE(FN.API.SL.FACI.BALANCES,IDD,R.API.SL.FACI.BALANCES)
NEXT
**************
PGM.FILE Screen Shot :
PROGRAM API.PGM.BUILD.SL.INT
------------------------------------------------------------------------------
1 TYPE.............. B
2. 1 GB SCREEN.TITLE BATCH JOB TO UPDATE SL INTEREST
3 ADDITIONAL.INFO... IN THE SL BALANCE FILE
4. 1 BATCH.JOB...... @API.PGM.BUILD.SL.INT
5 PRODUCT........... SL
14 CURR.NO........... 1
--
Rizwan
--
--
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 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
To unsubscribe from this group, send email to jbase+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Long time back I asket the author of this request to check the
corresponding output in &COMO&, JOB.TIMES and EB.EOD.ERROR. At least
we should be able to confirm whether the COB tried to call the
particular job and the problem is within the program, or is not called
at all and the problem is related to setup only. without this it's
just an academic debate.
On Mar 29, 8:33 pm, gowtham natarjan <gowth...@gmail.com> wrote:
> Guys,
>
> F.WRITE writes to a FWC array and unless a commit is issued for a
> transaction it will not flush it to the disk.
>
> The Journal.update is an equivalent of commit operation in oracle.
>
> Thats y when a main line program is executed and if u are using F.WRITE then
> u need to call a jounal.update. TRANS END happens only in journal update
> and thats where the boundary of a transaction ends.
>
> G
>
> On Mon, Mar 29, 2010 at 4:41 PM, Talha Naushahi <talha.naush...@gmail.com>wrote:
>
>
>
> > hi deepak,
>
> > what i have understood is that F.WRITE wirte the data in cache and when the
> > transaction is complete it then writes to the table in the end.
> > Although WRITE directly writes to the table. And i think thts why when we
> > use JOURNAL.UPDATE with F.WRITE it works cause JOURNAL.UPDATE seems to
> > update table from cache. My experience is tht main line routines using
> > F.WRITE does not updates tables neither do OFS.POST.MESSAGE works unless
> > JOURNAL.UPDATE is used.
>
> > kindly correct my concept if im wrong too :D.
>
> > regards,
> > Talha
>
To unsubscribe, reply using "remove me" as the subject.