Use of data type



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Use of data type

Postby jash » Fri Mar 05, 2010 9:09 am

Hi
In COBOL we r having 3 data types
1. Alphabetic
2. Numeric
3. Alphanumeric.
In all our applications we r using Alphanumeric in place of Alphabetic .then what is the use of alphabetic data type.
Anybody could give example where we r using Alphabetic data type.
Please Give me Suggestions
Thanks In Advance.
jash
 
Posts: 12
Joined: Sun Oct 04, 2009 12:05 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Use of data type

 

Re: Use of data type

Postby dick scherrer » Fri Mar 05, 2010 9:53 am

Hello,


Please Give me Suggestions
There are more than 3 "data types". Suggest you start here:
http://publibz.boulder.ibm.com/cgi-bin/ ... 0/5.3.12.3

Then follow the links at the bottom of that page for specific info.

Also suggest you bookmark the Table of Contents of that manual (COBOL Language Reference) as you will use this very often. You might download a copy to your local system for ease of use. The flashlight/tubelight near the top left of that page is the Search for the manual.

In all our applications we r using Alphanumeric in place of Alphabetic
Rather you are most likely using alphanumeric because alphanumeric is the standard most places. There are very few purely alphabetic fields and i have not seen "pic a(nn)" other than a class exercise for a long, long time.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 92 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post