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: 6966
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 Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm


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