file handling

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
viknesh
Member
Posts: 1
Joined: Sun Jan 26, 2014 6:01 pm

file handling

Post by viknesh » Sun Jan 26, 2014 6:05 pm

How to get both numeric and alpha(output=7200, seven thousand two hundred) values by only giving numeric value(input=7200) in the infile using file handling concept in cobol ?

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Sun Jan 26, 2014 9:37 pm

I do not understand what your input is, what your output should be. Please post both - using the code tags (available when you switch to the full editor).

Also, what have you tried that is not working? And what was the result?

You have referred to your training notes? And the COBOL manuals? And your colleagues?
Regards
Nic

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon Jan 27, 2014 4:13 am

By "alpha" do you mean all of the input numbers spelled out (as when a check is written)?

Not sure what you mean by "file handling concept".

Look around the internet for sample check-writing code.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others