Troodon Beginner
Joined: 10 Sep 2004 Posts: 9 Topics: 4 Location: Johannesburg, Gauteng, South Africa
|
Posted: Mon Oct 25, 2004 7:22 am Post subject: Calling C Fuinction GETENV" From COBOL |
|
|
Can anyone help with the correct syntax to call a C function "GETENV" from a cobol program.
I have tried:
set addr1 to address of env-name
call 'GETENV' using by value addr1 returning addr2
but addr2 is always null. I have been able to call "PUTENV" without any problems.
 |
|