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

Display variable in report with Decimal sign


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
RM0C13920

New User


Joined: 16 Dec 2009
Posts: 6
Location: bbbd

PostPosted: Mon Apr 05, 2010 7:44 pm
Reply with quote

one varaible is defined as S9(9)V99 and I want to display it in report with decimal sign.

How to do that??
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Apr 05, 2010 7:54 pm
Reply with quote

RM0C13920 wrote:
one varaible is defined as S9(9)V99 and I want to display it in report with decimal sign.

How to do that??


1. Display is a very poor way of creating reports.

2. Define an edit numeric field (pic ----,---,--9.99.), move the variable to to edited numeric field and "DISPLAY" the editted field.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Apr 05, 2010 9:26 pm
Reply with quote

RM0C13920,
look up edit mask in the cobol manual, links at the top of the page.

this is not supposed to be a roooooooooooooooooookie,
i don't want to read the manual forum
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Need Help with Packed Decimal Signs DFSORT/ICETOOL 4
Search our Forums:

Back to Top