QRP
 
Loading...
Searching...
No Matches
ms_checkpoint.sas File Reference

This macro records SAS session and preserves the ability to restart QRP at last completed checkpoint. More...

Detailed Description

This macro records SAS session and preserves the ability to restart QRP at last completed checkpoint.

  • If a previous error has occured (&SYSCC. >4):
    • Abort.
    • Redirect back to main log and call log checker.
  • If a previous error has not occured:
    • Copy current dplocal and msoc datasets to dptemp and msoctemp.
    • At restart, datasets in dptemp and msoctemp will replace dplocal/msoc counterparts.
    • Delete prior environment and save current SAS environment.
    • Write to dplocal.&runid._checkpoints number of checkpoints completed and timestamp.
Program inputs
None.
Program outputs
  • dplocal.&RUNID._checkpoints (Dataset with the number of checkpoints completed with timestamp.)

Usage

%ms_checkpoint(MACROCALLED=ms_scenarioloop);
Parameters
[in]MACROCALLEDMacro that contains checkpoint.

SAS Macros Dependencies

Author
Sentinel Coordinating Center (info@.nosp@m.sent.nosp@m.inels.nosp@m.yste.nosp@m.m.org)