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 is difference between static and dynamic call in cobol?
What is the difference between binary search and sequential search?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is report-item in COBOL?
Can we redefine the field of x(200) to less than 200?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between PIC 9.99 and PIC9v99?
How you can characterize tables in cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Are you comfortable in cobol or jcl?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How do get the result of your program directly on your pc?