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
 

 

Using Selcopy can be round off a data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
adutta24

New User


Joined: 07 Aug 2007
Posts: 13
Location: London

PostPosted: Wed Dec 23, 2009 1:31 pm    Post subject: Using Selcopy can be round off a data
Reply with quote

Hi All,

Can we round off a data using Selcopy.

I am dividing a data now I need to round it off. For Divide we can use the DIV command. Do we have something like that for Rounding that off.

Please help.
Back to top
View user's profile Send private message

adutta24

New User


Joined: 07 Aug 2007
Posts: 13
Location: London

PostPosted: Wed Dec 23, 2009 3:17 pm    Post subject:
Reply with quote

I was searching for a command like DIV. So it seems there is nothing like that.

And I have already gone thru the above material but was looking for soemthing else if present icon_confused.gif .

For the given reply we have to do some manual calculations to make the quotient rounded off.

Anyways thanks for your reply.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10272
Location: italy

PostPosted: Wed Dec 23, 2009 6:35 pm    Post subject: Reply to: Using Selcopy can be round off a data
Reply with quote

what is that You do not understand in this statement ( from the manual icon_evil.gif icon_question.gif

Quote:
Remainder
If a REM parameter is supplied on a DIV operation, the remainder is stored there, otherwise the remainder is lost because the quotient (the result) is always returned as a whole number. The REM field need not be initialised.


looks like a good path to pursue for rounding ... or not
icon_eek.gif
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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