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
Explain how to differentiate call by context by comparing it to other calls?
What is a scope terminator give example?
What are 77 levels used for?
Write a program to enter and display the names of students in a class using the occurs clause.
What are declaratives and what are their uses in cobol?
Difference between cobol and cobol-ii?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Define cobol?
What do you understand by psb and acb?
What are the different types of condition in cobol and write their forms.
How you can characterize tables in cobol?
What are various search techniques in cobol? Explain.
What is the utilization of copybook in cobol?
What are the different rules to perform a Search?
What are the different rules for performing sort operation?