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
 

 

Display variable in report with Decimal sign

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Display variable in report with Decimal sign
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    Post subject: Re: Display variable in report with Decimal sign
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: 6967
Location: porcelain throne

PostPosted: Mon Apr 05, 2010 9:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm


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