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 

Cobol dynamic call C

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


Joined: 15 May 2003
Posts: 6
Topics: 4

PostPosted: Wed Jun 04, 2003 6:12 am    Post subject: Cobol dynamic call C Reply with quote

It is possible to call C from Cobol dynamic ?

1 . From IBM manual (Call C from Cobol only allow static)
using extern "COBOL"

2. and also another part from IBM manual by declare
#pragma linkage(XXXXXX,COBOL) can call C from COBOL dynamic ?

I have try both method

1. static ---------> No problem
dynamic --------> OC01

2. static ----------> No problem
dynamic --------> OCO7 (complaint about Pack decimal, I only pass int or binary data)

Did I missing something ? in compile or link-edit ?
Back to top
View user's profile Send private message
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