Loading...
Searching...
No Matches
mpe_action.sas File Reference

Resolves the ACTION a makedata request is asking for. More...

Go to the source code of this file.

Detailed Description

Deprecated:
This macro is no longer called. makedata reads ACTION from its input table with call symputx, the way it already read DCPATH and ADMIN, and its two refusals test the value directly - so there is nothing left to resolve. It is kept for one release rather than deleted, because a deployment that ships its own services may still call it; remove it after that.

makedata answers the deploy screen's filesystem questions as well as creating the configuration tables, so the action has to be resolved before anything runs. It arrives one of two ways:

  • as a column of the input table (the adapter route, and the only one that works on SASjs Server - a form field or query parameter is not delivered to the program there);
  • as the macro variable action, which is what a URL parameter becomes on a platform that does deliver one, and which the configurator's link sets.

The macro variable is therefore read BEFORE anything is assigned over it: a default written first would overwrite the incoming value and the parameter would never take effect. A value that is absent is reported as MISSING and one outside the closed list as BAD, so the caller can refuse them with its own messages rather than this macro aborting.

Parameters
[out]outvar=(action) Global macro variable to receive the action. Set to MAKEDATA, DIRLIST, WRITECHECK, MISSING or BAD.
Version
9.2
Author
4GL Apps Ltd

@sasjslint {"maxLineLength": 80}

Definition in file mpe_action.sas.