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
how do you reference the esds vsam file formats from cobol programs
Write some characteristics of cobol as means of business language.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
In COBOL programming, what is PERFORM? What is VARYING?
What is amode(24)?
Can we change the password using ALTER? anyone tried and changed?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do define dynamic array in cobol.
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
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is static and dynamic call in cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is a report item?
What is redefines clause in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?