How can we find out wether to declare the data items like
Integer, Char,Comp? If comp types how can we decide wether
it is Comp and Comp3.How it is?
Please Explain... Cheers.
Answer Posted / shinoy sansilavose
if your variable always represents a value which is needed
for some mathematical calculations then you can define that
var as either a numeric one or as an alphanumeric one.
if your variable is specif for any city name or address you
can declare it as alphabetic or alphanumeric(alphanumeric
is suggested since address contain pin codes/door number)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
What is the difference between PIC 9.99 and PIC9v99?
What guidelines should be followed to write a structured cobol prgm?
What are declaratives and what are their uses in cobol?
What are the rules of the move verb?
What is the difference between external and global variables in COBOL?
What is a scope terminator give example?
Write the code to count the sum of n natural numbers.
how do you reference the printer file formats from cobol programs
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What are the different types of condition in cobol and write their forms.
How do we get current date from system with century in COBOL?
What is the difference between perform … with test after and perform … with test before?
In which area will you utilize 88 level items in cobol?