IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

OMIT COND syntax


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Fri Jan 04, 2008 6:21 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jan 04, 2008 10:14 pm
Reply with quote

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
View user's profile Send private message
veena_nagesh2002
Warnings : 1

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Sat Jan 05, 2008 5:28 pm
Reply with quote

thanks alot for your information, next time will send posts with complete details
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Use input file with OMIT rcd keys? DFSORT/ICETOOL 15
No new posts Reference for COND parameter. JCL & VSAM 1
No new posts IEF142I and Cond. Code 12 All Other Mainframe Topics 3
Search our Forums:

Back to Top