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


Please Help Members By Posting Answers For Below Questions

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2094


What are the cobol coding sheets?

655


What is report-item in COBOL?

702


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

696






What is length is cobol?

638


) how do u code after getting data?

1575


What are various search techniques in cobol? Explain.

638


Which is not true about evaluate statement

1560


What are the various section in data division and briefly explain them.

682


Write a program to explain size error.

666


how to refer the data field?

1793


What is a scope terminator give example?

649


What is a SSRANGE and NOSSRANGE?

805


explain sorting techniques in cobol program?

679