knobi
New User
Joined: 16 Aug 2005 Posts: 54
|
|
|
|
Using the IF below i noticed that after checking the position 71, it "exit" the if logic. I saw that i could use HIT=NEXT, but to me is unclear if it needs to be used at the end of every IFTHEN statement or only when i switch to the next position. Could someone with more experience using syncsort/icetool, comment on this ?
Code: |
INREC IFTHEN=(WHEN=(71,01,SS,EQ,C'A'),OVERLAY(095:067,04,ZD,MUL,+10)),
IFTHEN=(WHEN=(71,01,SS,EQ,C'B'),OVERLAY(095:067,04,ZD,MUL,+20)),
IFTHEN=(WHEN=(77,01,SS,EQ,C'A'),OVERLAY(111:073,04,ZD,MUL,+10)),
IFTHEN=(WHEN=(77,01,SS,EQ,C'B'),OVERLAY(111:073,04,ZD,MUL,+20)),
IFTHEN=(WHEN=(83,01,SS,EQ,C'A'),OVERLAY(127:079,04,ZD,MUL,+10)),
IFTHEN=(WHEN=(83,01,SS,EQ,C'B'),OVERLAY(127:079,04,ZD,MUL,+20))
|
|
|