MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unable call C program from Cobol

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mohan.jawahar
Beginner


Joined: 20 Jan 2009
Posts: 1
Topics: 1

PostPosted: Thu Jan 22, 2009 1:06 am    Post subject: Unable call C program from Cobol Reply with quote

Hi,

I am calling a C program from Cobol without passing parameters. Compilation went fine. But when executing it is giving me S0c7.

could you please help me to tell what is the issue.

here is the C program.

#include <stdio.h>
#include <string.h>
extern "C" {void GCOSHA3() ;}
/*
*
*/
void GCOSHA3()
{
int i,j;
}
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group