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
 
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: 6970
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 Undefined Report Program socker_dad COBOL Programming 2 Fri Mar 30, 2018 1:45 am
No new posts how to display APL characters? Pedro TSO/ISPF 6 Wed Mar 14, 2018 5:07 am
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 How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm

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