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 / 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 |
What are all the divisions of a COBOL program?
Explain about Redefines cluse?
How many bytes do a s9 (7) comp-3 field occupy?
What are the differences between OS VS COBOL and VS COBOL II?
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
Write a program that uses move corresponding.
WE HAVE 5 DIFFERENT RECORDING MODE IN COBOL.FIXED, FIXEDBLOCK, VARIABLE, VARIABLEBLOCK AND UNDEFINED. WHAT IS THE DIFFERENCE AMONG ALL AND WHICH TYPE OF FORMAT SHOULD BE USED WHEN
What is SET TO TRUE all about, anyway?
what is the difference between external and global variables?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Why would you use find and get rather than to obtain?