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!