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: 10218
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 JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
No new posts Sorting group data rajella DFSORT/ICETOOL 4 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm


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