HELPLIB.HLB  —  COBOL  PROCEDURE_DIVISION, CALL
  The CALL statement transfers control to another program in the executable
  image.

  Format -

  CALL prog-name

     [     {{{ [BY REFERENCE] }        }} [{{BY REFERENCE }        }]     ]
     [     {{{ BY CONTENT     }        }} [{{BY CONTENT   }        }]     ]
     [USING{{{ BY DESCRIPTOR  }{arg}...}} [{{BY DESCRIPTOR}{arg}...}] ... ]
     [     {{{ BY VALUE       }        }} [{{BY VALUE     }        }]     ]
     [     { OMITTED                    } [ OMITTED                 ]     ]

     [ GIVING function-res ]

     { [ ON EXCEPTION stment ] [ NOT ON EXCEPTION stment ] }
     { [ ON OVERFLOW stment  ] [ NOT ON OVERFLOW stment  ] }

     [ END-CALL ]
Additional Information: explode extract

prog-name
arg
function-res
stment
Close Help