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
 
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 Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts CONDITIONAL USING COMP-2 WITH PROBLEMS. JOSUEGENTIL COBOL Programming 7 Wed Nov 08, 2017 11:13 pm
No new posts how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am

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