[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] question about linkage section variables
From: |
David Korn |
Subject: |
[open-cobol-list] question about linkage section variables |
Date: |
Tue Jun 22 10:21:01 2004 |
cc: address@hidden
Subject: question about linkage section variables
--------
With the current compiler, linkage section records that
are not passed as usage parameters, are initialized
to NULL pointers at the beginning of the module, for
example
unsigned char *b_1152 = NULL;
However, this initialization takes place each time
that the module is invoked.
With the MVS compiler, values assigned to these variables
are persistent. I changed this to use
static unsigned char *b_1152 = NULL;
instead to work around the problem.
I am not familiar with Cobol semantics. Which is correct?
David Korn
address@hidden
- [open-cobol-list] question about linkage section variables,
David Korn <=