Skip to Content
0
Former Member
Sep 08, 2010 at 06:09 AM

Test_when function not working as desired

18 Views

Hi Experts,

We are using the Test_when command in our script logic to run a set of commands based on some condition. The intention is that a when loop be entered into only when there is some value in a particular account at a specified intersection. We are retrieving the value from the account using the Get function and using the same for comparison in the Test_when command. The syntax used is as below:

*TEST_WHEN(GET(AccountL="9000045",DATASRC="AJ_RETEARN",IntCol="I_None",GROUPS="C_10001",CATEGORY="ACTUAL",ACCTDETAIL="F_NONE")<>0))

*WHEN u2026

u2026.

*ENDWHEN

We have checked the get function and it returns a value for the account. But the Test_When function is not working properly.

Are we missing something here?

Any suggestion would be greatly helpful.

Regards,

Rajit