Re: inter subprogram in initial state, but only sometimes
- From: "Frank Swarbrick" <Frank.Swarbrick@xxxxxxxxxxxxxx>
- Date: Wed, 28 Dec 2005 11:51:55 -0700
Richard<riplin@xxxxxxxxxxxx> 12/23/05 8:57 PM >>>
>> I want the sub-program to sometimes be entered
>> in it's last used state and sometimes in it's initial state. But only
the
>> sub-program itself needs to know when it wants to do one and when it
>> wants to do the other.
>
>How hard would it be for the called program to re-initialise the
>working-storage items, close files etc and generally return itself to
>initial conditions _without_ being cancelled ?
>
>What does cancel achieve that a few moves and closes would not ?
Well, if you have a lot of VALUE clauses in your working storage
definitions, then there would but quite a lot of moves. It would be nice
just to let the COBOL runtime do it.
Frank
---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications
FirstBank Data Corporation - Lakewood, CO USA
.
- Follow-Ups:
- References:
- inter subprogram in initial state, but only sometimes
- From: Frank Swarbrick
- Re: inter subprogram in initial state, but only sometimes
- From: Richard
- inter subprogram in initial state, but only sometimes
- Prev by Date: Re: religion
- Next by Date: Re: religion
- Previous by thread: Re: inter subprogram in initial state, but only sometimes
- Next by thread: Re: inter subprogram in initial state, but only sometimes
- Index(es):
Relevant Pages
|