Supported data types passed by value (indirect) between C and COBOL
Table 1 identifies the data types that can be passed by value (indirect) as parameters between C and COBOL.
C | COBOL |
---|---|
signed int, signed long int | PIC S9(9) USAGE IS BINARY |
double | COMP-2 |
pointer to... | POINTER, ADDRESS OF |
struct | Groups |
type array[n] | Tables (OCCURS n TIMES) |