what is the use of comp2 ? where can we use it with example ?

Answer Posted / srinivas yadav

It is used to reduce the Momery space.
comp2:
1)The data stored in the form of Hexa-decimal format.
2)The no. of bytes stored as s9(1)to s9(18)is 8 bytes of
memory.
3)It takes more precession values.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

815


What type of SDLC u followed? Why?

1522


Can a Search can be done on a table with or without Index?

806


What is the difference between structured cobol programming and object alternativelyiented cobol?

757


Write a cobol program making use of the redefine clause.

739






example for sub strings ? and refernce modifications whit output pls

1847


What is a scope terminator give example?

659


What is length is cobol?

652


What are the different open modes available in cobol?

722


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1785


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

426


Name some of the examples of COBOl 11?

2688


How do get the result of your program directly on your pc?

1886


how to access the file from prodution from changeman tool and to submit a file to production

6687


When is inspect verb is used in cobol?

679