× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

OFS.GLOBUS.MANAGER failure

  • majid.khan04
  • majid.khan04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #18440 by majid.khan04
OFS.GLOBUS.MANAGER failure was created by majid.khan04
Dear All,
I am creating AC.LOCKED.EVENTS records through OFS.GLOBUS.MANAGER, and facing problem while posting OFS, The problem is: after specific number of successful Iteration, the loop gets initiated again and then reach to same point, and then initiate again. it goes on the same way and the loop doesn't stop. I have no issue in OFS messages, they are posted successfully. but why the loop is not proceeding till end??
If anybody has solution to the problem, please share with me.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #18445 by mbvinod
Replied by mbvinod on topic OFS.GLOBUS.MANAGER failure
will you please show me the code!!

Please Log in or Create an account to join the conversation.

  • majid.khan04
  • majid.khan04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #18447 by majid.khan04
Replied by majid.khan04 on topic OFS.GLOBUS.MANAGER failure
My sample Code:
SEL.CMD = "SELECT FEDB.ACCOUNT WITH WORKING.BALANCE GT 100"
CALL EB.READLIST(SEL.CMD, LS.LIST, '', TOT.LS, LS.ERR)

FOR MMK = 1 TO TOT.LS

Y.LD.ID = LS.LIST<MMK>
CALL F.READ(FN.AC, Y.LD.ID, R.AC, F.AC, LS.ERR)

Y.AC.WB = R.AC<AC.WORKING.BALANCE>
Y.CO.CODE = R.AC<AC.CO.CODE>

OFS.MSG = "AC.LOCKED.EVENTS,ISL.LD/I/PROCESS,//" : Y.CO.CODE
OFS.MSG := ",,ACCOUNT.NUMBER:1:1=" : Y.LD.ID
OFS.MSG := ",DESCRIPTION:1:1=" : 'TEST BLOCK'
OFS.MSG := ",LOCKED.AMOUNT:1:1=" : Y.AC.WB
OFS.MSG := ",FROM.DATE:1:1=" : TODAY

CALL OFS.GLOBUS.MANAGER(Y.OFS.SOURCE, OFS.MSG)

NEXT MMK

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #18450 by mbvinod
Replied by mbvinod on topic OFS.GLOBUS.MANAGER failure
hi i checked it, its working fine try by using while cmd

Please Log in or Create an account to join the conversation.

  • majid.khan04
  • majid.khan04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #18453 by majid.khan04
Replied by majid.khan04 on topic OFS.GLOBUS.MANAGER failure
But why it is not working on my Envs. I have checked on 2 Different Envs, and i am facing the same issue on both. do you know anything about mis-behavior of OFS.GLOBUS.MANAGER. because when I comment the code: "CALL OFS.GLOBUS.MANAGER(Y.OFS.SOURCE, OFS.MSG)", my routine works fine and loop continues till end. but when I open the code, the loop gets initiated again

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #18457 by mbvinod
Replied by mbvinod on topic OFS.GLOBUS.MANAGER failure
did u checked with bulk.manager or process.manager??

Please Log in or Create an account to join the conversation.

  • majid.khan04
  • majid.khan04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #18459 by majid.khan04
Replied by majid.khan04 on topic OFS.GLOBUS.MANAGER failure
No i have not check with bulk.manager or process.manager. please provide me the code or steps, if you can.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #18476 by mbvinod
Replied by mbvinod on topic OFS.GLOBUS.MANAGER failure
hi majid,
no need to use process or bulk.manager what u wrote is perfect i run d code it worked perfectly check by changing the conditions.. i used as below

SEL.CMD = "SELECT FBNK.ACCOUNT WITH WORKING.BALANCE GT 100"
CALL EB.READLIST(SEL.CMD,SEL.LIST,"",LIST.NO,ERR.LIST)
LOOP
REMOVE ID FROM SEL.LIST SETTING Y.POS
WHILE ID:Y.POS
CALL F.READ(FN.ACC,ID,R.ACC,F.ACC,ERR.ACC)
Y.AC.WB = R.ACC<AC.WORKING.BALANCE>
Y.CO.CODE = R.ACC<AC.CO.CODE>
OFS.MSG = "AC.LOCKED.EVENTS,VIN1/I/PROCESS,//" : Y.CO.CODE
OFS.MSG := ",,ACCOUNT.NUMBER:1:1=" : ID
OFS.MSG := ",DESCRIPTION:1:1=" : 'TEST BLOCK'
OFS.MSG := ",LOCKED.AMOUNT:1:1=" : Y.AC.WB
OFS.MSG := ",FROM.DATE:1:1=" : TODAY
Y.OFS.SOURCE = "DIARY.OFS"
CALL OFS.GLOBUS.MANAGER(Y.OFS.SOURCE,OFS.MSG)
CRT Y.OFS.SOURCE
REPEAT
Last edit: 8 years 4 months ago by mbvinod.
The following user(s) said Thank You: majid.khan04

Please Log in or Create an account to join the conversation.

  • majid.khan04
  • majid.khan04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #18477 by majid.khan04
Replied by majid.khan04 on topic OFS.GLOBUS.MANAGER failure
Thanks dear,
Ok i will change my Loop and then try.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago - 8 years 3 months ago #18496 by mbvinod
Replied by mbvinod on topic OFS.GLOBUS.MANAGER failure
Hi Majid.Khan

What z d status of that !! Is it working or not?? please let me know if it z working

Thnaks
Last edit: 8 years 3 months ago by mbvinod.

Please Log in or Create an account to join the conversation.

  • majid.khan04
  • majid.khan04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago #18510 by majid.khan04
Replied by majid.khan04 on topic OFS.GLOBUS.MANAGER failure
i made few changes in the routine and replace the loop, now its working fine.
Thanks for the support.

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds