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 |
what is difference between the sysabend and userabend?
What is difference between comp & comp-4?
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
In an EVALUTE statement is the order of the WHEN clauses significant?
How To move a value to an array using move verb?
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
what is difference between cobol and cobol/400
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
File status must be checked both while opening and reading the file or only while reading the file?
what is the purpose of linkage section?