Re: Cobol linkage question - Prob B working storage values.
- From: "Michael Mattias" <mmattias@xxxxxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 19:18:33 GMT
Program A calls Prog B. On the first call to Prog B and before the
goback to Prog A certain working-storage fields are valued. Do these
fields retain their value so the next time Prog A calls Prog B under
the same execution of Prog A the working-storage field has the value?
I think it does, because once Prog A calls Prog B the first time the
addressability is set up.
Well, I think it depends on if 'CANCEL PROGB' was called or not. ... and
whether or not the IS INITIAL clause is specified in the PROGRAM-ID
paragraph of PROGB and whether or not there are any VALUE IS clauses in
WORKING-STORAGE of PROGB...
But instead of THINKING I would be KNOWING ... if only I had RTFM.
MCM
.
- References:
- Cobol linkage question - Prob B working storage values.
- From: Michael Schey
- Cobol linkage question - Prob B working storage values.
- Prev by Date: Cobol linkage question - Prob B working storage values.
- Next by Date: Re: Can't sort variable length records using mfsort
- Previous by thread: Cobol linkage question - Prob B working storage values.
- Next by thread: Re: Cobol linkage question - Prob B working storage values.
- Index(es):
Relevant Pages
|
|