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

Translate Numerics into characters in COBOL Display


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Jun 22, 2007 9:31 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top