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 Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am
No new posts OPC JCL Variable passion_sujesh IBM Tools 5 Fri Jul 01, 2016 4:21 am
No new posts JOINKEYs and Variable files migusd SYNCSORT 8 Fri Jun 17, 2016 3:16 am


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