identification division.
program-id. subprog.
procedure division.
display "in subprog"
goback.
...
call "subprog"
goback.
The first GOBACK above will return from subprog. Assuming the second is inside the main procedure, GOBACK will return to the operating system.
...