Skip to Content
author's profile photo Former Member
Former Member

Lookup values

Hi Guru's

We have requirement to get values from another application and used for the calculation in the other application.Does the script works.Please advice.

time KEY EXP signeddata

2011 K1 L 0.5

2011 K1 E 0.8

2011 K2 L 0.05

2011 K2 E 0.20

*LOOKUP PDP

*DIM TIME

*DIM KEY="1"

*DIM EXP_B1:EXPC=B

*DIM EXP_C1:EXP=C

*DIM EXP_F1:EXP=F

*DIM EXP_I1:EXP=I

*DIM EXP_L1:EXPT=L

*DIM EXP_M1:EXP=M

*DIM EXP_N1:EXP=N

*ENDLOOKUP

*LOOKUP PDP

*DIM TIME

*DIM KEY="2"

*DIM EXP_B2:EXP=B

*DIM EXP_C2:EXP=C

*DIM EXP_F2:EXP=F

*DIM EXP_I2:EXP=I

*DIM EXP_L2:EXP=L

*DIM EXP_M2:EXP=M

*DIM EXP_N2:EXP=N

*ENDLOOKUP

Thanks

Buggi

Edited by: Buggi9 on Sep 8, 2011 8:21 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 08, 2011 at 11:30 PM

    Hi there,

    You can only use 1 *LOOKUP statement per *COMMIT block.

    You might have to combine the 2 LOOKUP's into 1.

    Thanks,

    John

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.