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
 

 

Comp-3 To displayabl format with decimal places

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Comp-3 To displayabl format with decimal places
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

Site Director


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

PostPosted: Wed Sep 24, 2008 11:00 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Sep 24, 2008 11:27 am    Post subject:
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    Post subject:
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    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 Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Joinkeys with decimal scdinesh DFSORT/ICETOOL 3 Fri Feb 10, 2017 4:46 am
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm


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