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
 
Masking problem in Easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Masking problem in Easytrieve
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: 2441
Location: Netherlands, Amstelveen

PostPosted: Sun Jan 31, 2010 2:04 pm    Post subject:
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    Post subject: Re: Masking problem in Easytrieve
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: 2441
Location: Netherlands, Amstelveen

PostPosted: Sun Jan 31, 2010 5:35 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Problem commiting to DB2 from IMS MPP Ole Soerensen IMS DB/DC 2 Wed Jul 26, 2017 5:19 pm
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am

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