Check out the chapter,
   "Communicating between C and COBOL"

at:
  http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA4150/4.0 


"cnps" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hi,
> 
> I am trying to call a C routine from COBOL pgm.
> I have few questions.
> Is it possible to statically call a C routine from a COBOL pgm?
> If yes can we also return the result of the C routine(statically
> called) to the COBOL pgm.
> Do i need to use #pragma for this?
> Can i return a string from the C routine to my COBOl pgm?
> Copied below is my COBOL pgm and C routine.
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to