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 to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
What is the difference between Perform para and perform asaection in cobol?
What does the INITIALIZE verb do?
Explain call by context by comparing it to other calls.
What are the pertinent COBOL
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What are VS COBOL 11 special features?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
what will happen if pass values more than 100 using PARM parameter?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error
Define cobol?