One more potential option is the UNIX "shared memory" feature. I have not used this in any of my own programs, so I cannot say for sure it is an option in your case. Anyway, you might want to have a look. There is a set of C functions called shmget(), shmat(), shmdt(), and shmctl(). A program creates the sharable area with shmget(), other programs map that storage into their own address space using shmat(). The idea is: The C routine would allocate the large area in 64bit storage, the Cobol routine would map part of it (mega byte chunks) into 31bit storage. The Cobol program would need to call BPX1MAT for shmat() functions.
--Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
