Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to call from a COBOL program an other Cobol program?

+7 votes
asked Jun 10, 2024 by gabor rozsnyai (200 points)
In a procedure division I have a "Call <program>" statement.

<Program> is an other program (project).

How can I make the linkage?

1 Answer

+1 vote
answered Jun 12, 2024 by Peter Minarik (101,360 points)

Dear Gábor,

I've never written any programs in Cobol, but I've found this thread, it may be useful to solve your problem.

To set up compilation flags, after you have selected your language in the top right corner of the editor, click on the gear icon (2 icons to the right of the language drop down) then click "Extra Compiler Flags" and specify the flags there.

Good luck, I hope it helps!

commented Jun 12, 2024 by gabor rozsnyai (200 points)
thanks Peter
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...