Previous | Next | DMIS Question and Answer
Topic: Saving and Restoring State
Conf: DMIS Question and Answer, Msg: 3596
From: Donald Laib (donald.l.laib@boeing.com)
Date: 11/21/2001 02:44 AM
Is there a way, within an external DMIS module, to save (on entering) then restore (on
returning) the state of various DMIS parameters like DATSET, MODE, SNSLCT, APPRCH,RETRCT,
FEDRAT etc? For example, I would like to do something sort of like this:
DMISMD/
DATSET_TO_RESTORE = OBTAIN/ the current DATSET ID
SAVE/D(DATSET_TO_RESTORE)
.
.
D(temporary) = DATSET/ ...
.
.
module code
.
.
RECALL/D(DATSET_TO_RESTORE)
ENDFIL
The intent of this is to enable the writing of utility modules that do special things
which can be called in existing unmodified DMIS programs without breaking them.
Don Laib
Boeing