What is the use of LINKAGE SECTION?
Answer / sreedhar
Linkage section is a part of data division.
This can be coded in 2 situations
1) When we want to pass data from Jcl to COBOL program using parm parameter.
2) when mainprogram communicates with sub program then we code linkage section in sub program
Is This Answer Correct ? | 0 Yes | 0 No |
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
what is sysncpoint?
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?
What is a SSRANGE and NOSSRANGE?
what is ASRA, AEY9?
what is s013u000 for?
What is file status 92?
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
should I use Go back in the main program ? Yes we can use Go back in main program as well.