From 2a31e3fe2d8324ee5aa8f259815cc28edce04d24 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Mon, 23 May 2022 14:50:35 +0100 Subject: [PATCH] Update dcc-tables.md --- docs/dcc-tables.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/dcc-tables.md b/docs/dcc-tables.md index a8beaa9..1631828 100644 --- a/docs/dcc-tables.md +++ b/docs/dcc-tables.md @@ -91,7 +91,9 @@ Leave blank if not required. #### SAS Developer Notes -The submitted table can be referenced as (`work.staging_ds`). If your DQ check means that the program should not be submitted, then simply exit with `&syscc > 4`. You can even set a message to go back to the user by using the [mp_abort](https://core.sasjs.io/mp__abort_8sas.html) macro: +The `&orig_libds` macro variable contains a reference to the base library.table or format catalog that will be loaded (on approval). The staged table is called `work.STAGING_DS`. + +If your DQ check means that the program should not be submitted, then simply exit with `&syscc > 4`. You can even set a message to go back to the user by using the [mp_abort](https://core.sasjs.io/mp__abort_8sas.html) macro: ``` %mp_abort(iftrue= (&syscc ne 0) /* if this condition is true, the process will exit */ @@ -158,4 +160,4 @@ The code is simply `%include`'d at the relevant point during backend execution. * Physical, ie the full path to a `.sas` program on the physical server directory * Logical, ie a Viya Job (SAS Drive), SAS 9 Stored Process (Metadata Folder) or SASJS Stored Program (SASjs Drive). -If the entry ends in ".sas" it is assumed to be a physical, filesystem file. Otherwise, the source code is extracted from the Job/STP. The Job/STP path can be relative (beneath the /DataController root) or full (to another item in Drive / Metadata). \ No newline at end of file +If the entry ends in ".sas" it is assumed to be a physical, filesystem file. Otherwise, the source code is extracted from the Job/STP. The Job/STP path can be relative (beneath the /DataController root) or full (to another item in Drive / Metadata).