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
What are the rules of the move verb?
What are the different rules of SORT operation?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the difference between Global and External Variables?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Name the divisions, which are available in a cobol program?
Define static linking and dynamic linking.
What is the utilization of copybook in cobol?
What is the LINKAGE SECTION used in COBOL?
Are you comfortable in cobol or jcl?
How to remove 2 duplicate records and copy only one using job control language?
What is the default value(s) for an initialize and what keyword allows for an override of the default?