Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Variable declaration to take decimal value.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
preethiuday

New User


Joined: 30 Mar 2007
Posts: 3
Location: proddatur

PostPosted: Mon Apr 16, 2007 4:00 pm    Post subject: Variable declaration to take decimal value.
Reply with quote

Hi all,

I am using a Variable with data type as Fixed dec(15,2).In the output it will take both negative values and positive values.But when it comes to deimal valus it is rounding off the decimal value and giving a non-decimal value.I need the decimal value also.I tried initialising it Zero also.But no use.

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

cheryala

New User


Joined: 20 Mar 2006
Posts: 46

PostPosted: Tue Apr 17, 2007 3:11 pm    Post subject: Re: Variable declaration to take decimal value.
Reply with quote

Hi Preethi,
Can you just mention what input data you have given and the output you are getting ??


Regards,
Raj
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 -> PL/I & Assembler 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 group and sum the decimal value sakrat DFSORT/ICETOOL 2 Tue Mar 06, 2018 9:13 pm
No new posts COBOL declaration for table Poha Eater DB2 3 Mon Feb 26, 2018 6:58 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us