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 Profile Log in to check your private messages Log in
 
Drifting dollar/Pound sign with minus sign in PL/I

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
a b c d

New User


Joined: 04 Mar 2010
Posts: 13
Location: UK

PostPosted: Thu Jul 29, 2010 2:49 pm    Post subject: Drifting dollar/Pound sign with minus sign in PL/I
Reply with quote

Hi All,

I am looking for the PICTURE declaration to display a numeric value, which should display drifting Dollar/Pound sign with Minus

For Example
DCL Var1 PIC'-£££,££9.V99' INIT (-123.25)

I want the display as (-£123.25), but the above is displaying as
(- £123.25)

Thank you
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jul 29, 2010 5:23 pm    Post subject:
Reply with quote

The manual states that you can have a drifting blank, currency synbol or sign. That would suggest you can't have both.

Garry.
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 Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts IGZ0040S An invalid separate sign was... kishpra COBOL Programming 13 Sun Aug 02, 2015 2:41 am
No new posts How to modify the value using the sig... Vinay Pushpala PL/I & Assembler 3 Fri Feb 13, 2015 2:10 pm
No new posts SUM FIELDS of ZONED DECIMAL as DISPLA... mrgnndhmk JCL & VSAM 1 Mon Aug 11, 2014 9:16 pm
No new posts Moving sign bit from X variable to 9 seahawk789 COBOL Programming 10 Mon Aug 11, 2014 2:45 am

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