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

How to declare input amount-field and output fields


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vrkpati

New User


Joined: 18 Jun 2007
Posts: 7
Location: hyderabad

PostPosted: Sat Apr 11, 2009 5:03 pm
Reply with quote

Hi,
My input field contains values like
amount-field
100.00
200.00
300.00
400.00
500.00

I want to add the entire amount-field to get total amount paid
So how to declare my input amount-field and how to declare output fields
and how to get the result??
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Apr 11, 2009 5:26 pm
Reply with quote

What were your findings after reviewing the manual?

Regards,
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: Sat Apr 11, 2009 8:53 pm
Reply with quote

Hello and welcome to the forum,

At the top of the page is a link to "IBM Manuals". There are Language Reference manuals for multiple current versins of the compiler.

In the manual for your compiler version look for NUMVAL and NUMVAL-C.

When you have a bit of code and have questions or problems, post what you have to that point and your question/problem. Someone will be able to clarify.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts force tablespace using LISTDEF input DB2 1
Search our Forums:

Back to Top