what is the difference between Normal vaiable and comp
variable.
Answer Posted / garry
I am not sure about previous explanation, however before that all explanations are valid.
One thing should be clear in our mind that COMP usage is good but it can not be displayed simply, it will store in binary format, so we need to convert it in to ZD, if displaying in SYSOUT or writing to a file.
Please let me know if I am wrong.
Thanks
Garry
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the access modes of START statement?
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 is the utilization of copybook in cobol? Could we utilize a similar copybook?
Name the divisions, which are available in a cobol program?
What is inspect in cobol ?
What are the various section in data division and briefly explain them.
Which division and paragraphs are mandatory for a COBOL program?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What the difference is between continue and next sentence?
What is report-item in COBOL?
How do you differentiate between cobol and cobol-ii?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
In COBOL, what is the different between index and subscript?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?