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
 

 

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 Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Joinkeys with decimal scdinesh DFSORT/ICETOOL 3 Fri Feb 10, 2017 4:46 am


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