Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I need to update the value in FIELDA based on the value in FIELDB in the LOAD process.

When I load my data from an existing QVD file I want to change the value in FIELDA based on the values in FIELDB and FIELDC. I can not get the IF Then Else logic to work. I am using Release 7.5.

Something Like ;

Load *

IF FIELDB =2 AND FIELDC = 3 THEN FIELDA =9.

From ABC.QVD(qvd);

1 Reply
Not applicable
Author

IF( FIELDB = 2 AND FIELDC = 3, 9, FIELDA) as FIELDA