1)what is use of linkage section?
2)what is difference between comp and comp-3
Answer Posted / samay simant
answer 1) Linkage section is used to accept data from outside the program.either its parm part of Jcl or Call from any other programs,they pass data into called program thru linkage section only.
2)Comp is binary.its the type how system stores ur data.
pic s9(1)-->pics9(4) --occupies 2bytes
pic s9(5)---pic s9(8) ----4 bytes
pic s9(9)---pics9(18)-----8 bytes
comp-3 is for packed decimal data where each character occupies half byte and sign is stored in last nibble.
If wrong,plz correct me anyone
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
What kind of error is trapped by on size error option?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is inspect in cobol ?
What is cobol?
How arrays can be defined in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
) How do u handle errors in BMS macro?
When is inspect verb is used in cobol?
How do you reference the following file formats from cobol programs?
Explain how you can characterize tables in cobol?
Are you comfortable in cobol or jcl?
What is the difference between Global and External Variables?
What is the utilization of copybook in cobol?