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
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the difference between external and global variables in COBOL?
Are you comfortable in cobol or jcl?
Difference between cobol and cobol-ii?
How do get the result of your program directly on your pc?
what is the use of outrecord?
What is the use of intialize verb?
Name the sections present in data division.
what is amode(24), amode(31), rmode(24) and rmode(any)?
Explain how to differentiate call by context by comparing it to other calls?
how to refer the data field?
How do you reference the following file formats from cobol programs?
What is difference between static and dynamic call in cobol?