× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

Local reference

More
11 years 7 months ago #15081 by MM
Local reference was created by MM
How to get a local reference field without using CALL GET.LOC.REF subroutine?

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

More
11 years 7 months ago #15127 by kripesh
Replied by kripesh on topic Local reference
You can hardcode the local reference field position and extract the value accordingly. This will surely have problems during upgrade or position changes and this is HIGHLY NOT ADVISABLE.

Incase you feel that having many GET.LOC.REF Calls in your subroutine is causing performance issues then try using the CALL MULTI.GET.LOC subroutine instead to extract values.

You can extract multiple local ref position values using this...

Have a great day !

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

  • Noureddine
  • Visitor
  • Visitor
9 years 7 months ago #18331 by Noureddine
Replied by Noureddine on topic Local reference
Can you give me the syntax of the subroutine MULTI.GET.LOC and how can i call it.
because it's giving me an error when i use it

Thank you.

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
9 years 7 months ago #18336 by jpb
Replied by jpb on topic Local reference
Example of Usage of MULTI.GET.LOC.REF
APPL.NAME.ARR<1> = 'GM.FUND.MASTER' ; APPL.NAME.ARR<2> = 'GM.TRANSACTION'
FLD.NAME.ARR<1,1> = 'VALUATION.FREQ' ; FLD.NAME.ARR<1,2> = 'MAX.BACK.DATE'; FLD.NAME.ARR<2,1> = 'CREDIT.ACCOUNT'

CALL MULTI.GET.LOC.REF(APPL.NAME.ARR,FLD.NAME.ARR,FLD.POS.ARR)

VAL.FREQ.POS = FLD.POS.ARR<1,1>
MAX.BK.DT.POS = FLD.POS.ARR<1,2>
CR.AC.POS = FLD.POS.ARR<1,3>

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

Time to create page: 0.033 seconds