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

Comp-3 To displayabl format with decimal places


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Brahmananda Reddy Manipi
Currently Banned

New User


Joined: 22 Jul 2008
Posts: 13
Location: Bangalore

PostPosted: Wed Sep 24, 2008 10:54 am
Reply with quote

Hi all,

I have a comp-3 with decimal's

EZMLB
&PREFIX.-C-TXN &PREFIX.-BASE-GROUP +37 13 N 2

the above field contain's decimal places....
it's out put looks like
0000000003107
0000000014858
0000000005394
0000000001087

Required .....

00000000031.07
00000000148.58
00000000053.94
00000000010.87

If possible need to have eleminatin zeroes ...
31.07
148.58
53.94
10.87
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Sep 24, 2008 11:00 am
Reply with quote

Hello,

Is the output currently being created with Easytrieve?

If it is, why not simply create the output in the needed format using Easytrieve?
Back to top
View user's profile Send private message
Brahmananda Reddy Manipi
Currently Banned

New User


Joined: 22 Jul 2008
Posts: 13
Location: Bangalore

PostPosted: Wed Sep 24, 2008 11:10 am
Reply with quote

Yes!

I need to disply '.' as well, I tryed it's not happing...using easytrieve..


00000000031.07
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Sep 24, 2008 11:27 am
Reply with quote

Hello,

You should be able to do what you need using an "edit mask".
Back to top
View user's profile Send private message
Brahmananda Reddy Manipi
Currently Banned

New User


Joined: 22 Jul 2008
Posts: 13
Location: Bangalore

PostPosted: Wed Sep 24, 2008 11:47 am
Reply with quote

could you plz help me out with few examples....
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 Populate last day of the Month in MMD... SYNCSORT 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts InfoSphere OPTIM CSV ouput vs DSNTIUA... IBM Tools 3
Search our Forums:

Back to Top