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 u write test cases?
How do you reference the fixed block file formats from cobol programs
what happens if parmparameter passes zero bytes to the program
Difference between array and sub-script ?
What is the problem of ordered sequential files access?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between external and global variables in COBOL?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
A table has two indexes defined. Which one will be used by the SEARCH?
Explain how you can characterize tables in cobol?
how to convert the recors form vsam file to db2 table tru file aid
Name the sections present in data division.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is rmode(any) ?