title: running COBOL program error - mfcobol, CALL ... RETURNING
body: <p>i got a problem with simple cobol call - returning test program.</p>
  
  <p>I am using micro focus cobol.</p>
  
  <p>here are my 2 codes.</p>
  
  <pre><code> ***************** CALLING PROGRAM 
     IDENTIFICATION DIVISION.
     PROGRAM-ID. callreturning.
  
     ENVIRONMENT DIVISION.
  
     DATA DIVISION.
     WORKING-STORAGE SECTION.
     01 VA PIC S9(8) USAGE DISPLAY.
     01 VB PIC S9(8) USAGE DISPLAY.
     01 VC PIC 9(4) USAGE DISPLAY value 0.
  
     PROCEDURE DIVISION.
     MOVE 1 TO VA.
     MOVE 2 TO VB.
     move 3 to VC.
     CALL "add_two" USING  VA VB returning VC.
  
    * DISPLAY VA VB VC.
     EXIT PROGRAM.
  
  
     END PROGRAM callreturning.
  
  
    *********CALLED PROGRAM
     IDENTIFICATION DIVISION.
     PROGRAM-ID. add_two.
  
     ENVIRONMENT DIVISION.
  
     DATA DIVISION.
  
     LINKAGE SECTION.
     01 PARM_A PIC S9(8) USAGE DISPLAY.
     01 PARM_B PIC S9(8) USAGE DISPLAY.
     01 PARM_C PIC 9(4) USAGE DISPLAY value 0.
  
     PROCEDURE DIVISION USING PARM_A PARM_B returning PARM_C.
     move 3 to PARM_C.
    * ADD PARM_A TO PARM_B GIVING PARM_C.
     goback.
     END PROGRAM add_two.
  </code></pre>
  
  <p>CALLING program simply calls the second program with using returing value.</p>
  
  <p>But when i compile both program and run, error happens.</p>
  
  <p>error code: 114, pc=0, call=1, seg=0
  114     Attempt to access item beyond bounds of memory (Signal 11)</p>
  
  <p>Did i make a wrong code? or other problem? please help me :)</p>
  
  <ul>
  <li>I am testing 'RETURNING' phrase</li>
  </ul>