Learn COBOL in 1 hour!
Difficulty: Advanced â—Ź Progress: 0 / 0 modules completed
Subprograms (functions)

In COBOL, a subprogram is an external program that can be called by another program, and to which we can pass data (parameters).
Each subprogram must be stored in its own file, in the same folder as the main program.
We'll start by creating our subprogram, soberly titled "SubProgram", which will take parameters that we'll need to declare in the LINKAGE SECTION.
You need to purchase this course to read this module!
Or !