COMP-3 field occupy ?

Answer Posted / vasanth

No it should be M+N/2 for bytes allocation in case of
variable var1 pic 9(6)v99 comp-3

where M=6 and N=2

The limit of comp-3 variable declartion is EX: var1 s9(18)
comp-3

Is This Answer Correct ?    9 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

696


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

836


In which area will you utilize 88 level items in cobol?

732


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

733


What are the different types of condition in cobol and write their forms.

672






can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1966


What is static and dynamic call in cobol?

603


Which is not true about evaluate statement

1632


What is the compute verb? How is it used?

673


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

650


What is length is cobol?

657


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10684


Mention the guidelines to write a structured cobol program?

630


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

433


Why occurs cannot be used in 01 level in COBOL?

723