Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / tata
if we use comp3(packed decimal)
declare like 01 a pic s9(13)comp3.
13/2=6.5 and s takes extrahalf byte.
that is 6.5+0.5=7.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
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
What the difference is between continue and next sentence?
IF I mention stop run in CICS what happens?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What are the different rules for performing sort operation?
Write the code implementing the perform … varying.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How do define dynamic array in cobol.
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?
What is static and dynamic call in cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is link edit in cobol?
Explain the configuration section of a cobol program with examples of syntax.
What are the pertinent COBOL commands?
Difference between cobol and cobol-ii?