View previous topic :: View next topic
|
Author |
Message |
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
how to write omit cond to the below field (12 bytes),
Code: |
TFS-TOTAL-DOLLAR S9(10)V99 0001421374.23
or
TFS-TOTAL-DOLLAR 32 00014213742C
32 0001421374.23
|
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
It's not at all clear from your description what you want to do, but I'll take a guess that you want to compare the TFS-TOTAL-DOLLAR amount to a value of 0001421374.23. If so, then the OMIT condition would be:
Code: |
OMIT COND=(p,12,ZD,EQ,+142137423)
|
where p is the starting position of the field.
S9(10)V99 is a 12-byte ZD field. The decimal point is NOT actually stored internally. So you need to compare it to a constant without the decimal point.
If that's not what you're trying to do, then you need to explain clearly what it is you are trying to do. |
|
Back to top |
|
|
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
thanks alot for your information, next time will send posts with complete details |
|
Back to top |
|
|
|