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
 

 

Translate Numerics into characters in COBOL Display

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
skarthickji
Warnings : 2

New User


Joined: 15 Jun 2007
Posts: 1
Location: chennai

PostPosted: Fri Jun 22, 2007 7:40 pm    Post subject: Translate Numerics into characters in COBOL Display
Reply with quote

i'm given an four digit no... my o/p will've to be in figures....


for e.g:

my i/p is 2345.


o/p is Two thousand three hundred and fourty five....
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: Fri Jun 22, 2007 9:31 pm    Post subject:
Reply with quote

Hello,

Homework?

Search in the forum as this has been answered previously. It is the classic example of check-writing code.

I suspect that you only want an answer rather than working on the solution. You will learn far more if you actually work on the problem.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Jun 22, 2007 11:02 pm    Post subject:
Reply with quote

skarthickji,

So far, you've invested 28 words toward a solution to YOUR problem; Dick has invested 52.

Why don't you show us how far you can get toward a solution, then we can help you the rest of the way.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm


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