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 |
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
db2 variable decimal(15,2) what is the equalent size of cobol variable
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
how you read control card into array?
Give some advantages of REDEFINES clause?
how do you reference the variable block file formats from cobol programs
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
What is EIBCALEN? Why it is used?
wht do u mean by (*,intrdr) wht is * used for ?
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
What type of Call you would use if you don;t want the control back to the calling program?
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.