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
 

 

How to identify +ve and -ve amounts

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
sudhakar_mainframe
Warnings : 1

New User


Joined: 29 Jun 2006
Posts: 25

PostPosted: Thu Dec 04, 2014 8:25 pm    Post subject: How to identify +ve and -ve amounts
Reply with quote

Hi All,

I have a requirement to find the sign of each amount and aded to diff files.
one file with +Ve values and other with -ve values.

Could you please guide, how can we achieve this,

Thanks
Venkata.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Dec 04, 2014 8:31 pm    Post subject:
Reply with quote

The sign is in column 8 of the relevant fields

That's the best guesstimate that you will get unless you can be bothered to give us some useful information to work with.

icon_evil.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Dec 04, 2014 10:25 pm    Post subject: Reply to: How to identify +ve and -ve amounts
Reply with quote

Two OUTFILs, one with INCLUDE= for the -ve amounts. One with SAVE. Decide where zero amounts should go.

Other than that, it is as expat has said.
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 Identify error records krsenthil85 DFSORT/ICETOOL 11 Thu Apr 28, 2016 9:45 pm
No new posts Identify comp/comp-3 data from file bipinpeter CLIST & REXX 8 Thu Jan 14, 2016 2:27 pm
No new posts Identify the last schedule change of ... rikdeb CA Products 2 Tue Sep 29, 2015 8:11 pm
No new posts How to identify last record in each g... Ambili S DFSORT/ICETOOL 4 Thu Jun 11, 2015 9:12 pm
No new posts How to identify which DSN has an aben... dineshjyrm JCL & VSAM 14 Fri May 08, 2015 6:13 pm


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