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 |
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What are the access modes of START statement?
88 class is used for
a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
What is the usage of comp fields in cobol?
What is the local-storage section?
What do you do to resolve SOC-7 error?
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?
Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?