Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

OMIT COND syntax

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: OMIT COND syntax
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 Moderator


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

PostPosted: Fri Jan 04, 2008 10:14 pm    Post subject:
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    Post subject: Reply to: OMIT COND syntax
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
No new posts Syntax for running batch history repo... polymathtarun CA Products 1 Tue Jun 21, 2016 1:51 pm
No new posts COND parameter vs IF THEN ELSE Alks JCL & VSAM 11 Fri Jun 17, 2016 5:28 pm
No new posts Syntax to check the first 4 digits of... kshirabdhi DFSORT/ICETOOL 10 Tue May 03, 2016 12:21 pm
No new posts Include Cond issue vickey_dw DFSORT/ICETOOL 6 Tue Mar 29, 2016 8:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us