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

Rounded result and Remainder in Easy


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
LinkinPark
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 44
Location: DALIAN,CHINA

PostPosted: Wed Mar 21, 2007 11:16 am
Reply with quote

Hi All,

in COBOL,

DIVIDE srcnum BY srcnum GIVING result [ROUNDED] REMINDER remainder

anyone can tell me how to perform similar statement in Eastytriave ?
how to get reminder in division.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Mar 21, 2007 4:48 pm
Reply with quote

The old fashioned way:
integer = big-number / little-number
remainder = integer - integer * little-number
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts first column truncated in search result IBM Tools 13
No new posts SDSF like solution in EJES (store com... All Other Mainframe Topics 4
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Easy way to delete selected members f... IBM Tools 12
No new posts Undesired result while joining files. SYNCSORT 3
Search our Forums:

Back to Top