Suppose i want to declare a binary comp fild of 7 byte .how
to write?

Answer Posted / i go crazy

Hi Suv,

If u code S9(14) COMP, it will take double word i.e. 8
bytes. Below is the size of comp variables.
S9(01) - S9(04) : 2 BYTES.
S9(05) - S9(09) : 4 BYTES.
S9(10) - S9(18) : 8 BYTES.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to explain size error.

678


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17054


What are declaratives and what are their uses in cobol?

714


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6839


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697






What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

719


What guidelines should be followed to write a structured cobol prgm?

674


In COBOL programming, what is PERFORM? What is VARYING?

672


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

644


Difference between cobol and cobol-ii?

715


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


When is inspect verb is used in cobol?

679


what is amode(24), amode(31), rmode(24) and rmode(any)?

705


What is amode(24)?

684


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

1962