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


Please Help Members By Posting Answers For Below Questions

how do you reference the esds vsam file formats from cobol programs

634


Write some characteristics of cobol as means of business language.

622


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657


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

672


What is amode(24)?

684






Can we change the password using ALTER? anyone tried and changed?

1552


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734


How do define dynamic array in cobol.

674


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

714


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


What is static and dynamic call in cobol?

601


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2725


What is a report item?

741


What is redefines clause in COBOL?

851


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

679