1)what is use of linkage section?
2)what is difference between comp and comp-3



1)what is use of linkage section? 2)what is difference between comp and comp-3 ..

Answer / 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

More COBOL Interview Questions

I want ALL jcl ERROR cods

1 Answers  


How may divisions are there in JCL-COBOL?

5 Answers   IBM,


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


How many variables can be declared in w-s section.?

2 Answers  


What does the IS NUMERIC clause establish ?

2 Answers  






i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


What is the linkage section?

4 Answers  


what is the use of filler in cobol programing?

4 Answers   MAT,


how can we get current dat and time thru cobol pgm

3 Answers   DELL,


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


how to code in cobol while using variable block file?

1 Answers  


What is a report item?

0 Answers  


Categories