SangNa Beginner
Joined: 15 May 2003 Posts: 6 Topics: 4
|
Posted: Wed Jun 04, 2003 6:12 am Post subject: Cobol dynamic call C |
|
|
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 ? |
|