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

Masking problem in Easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Sun Jan 31, 2010 1:54 pm
Reply with quote

Hi All,

I have a numeric data which is defined as
W-AMOUNT W 14 N 2 Mask '$$$$$$$$$$$9.99-'

In this case '-' sign is coming at end of the field in report. When I tried using Mask '-$$$$$$$$$$$9.99' to get '-' sign in the beginning of the field it is giving me error.

Please let me know is there any method to display '-' sign in the begining of data with '$' sign.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun Jan 31, 2010 2:04 pm
Reply with quote

Because you use a currency mask, the sign will always be appended.
So there is no way to prefix the sign.
Thats normal i never saw something like this :

-$1000.00
Back to top
View user's profile Send private message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Sun Jan 31, 2010 5:32 pm
Reply with quote

abhay pratap singh wrote:
Hi All,

I have a numeric data which is defined as
W-AMOUNT W 14 N 2 Mask '$$$$$$$$$$$9.99-'



When I am using this field in LINE statement for report like

LINE COL 42 W-AMOUNT

it gets displayed from column 45 instead of 42.

Do I need to do some special processing for starting amount at 42 column.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun Jan 31, 2010 5:35 pm
Reply with quote

Maybe some spaces are prepended as filler?
Prepended means something like "put in front of"
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Count the number of characters in a f... CA Products 1
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
Search our Forums:

Back to Top