From 7a60c3cd0f4ddad5a3907c2a9ce2dfa8a059c128 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Thu, 27 Apr 2023 11:04:58 +0100 Subject: [PATCH] Update dcc-tables.md --- docs/dcc-tables.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dcc-tables.md b/docs/dcc-tables.md index e2778f9..87c7186 100644 --- a/docs/dcc-tables.md +++ b/docs/dcc-tables.md @@ -123,17 +123,17 @@ Leave blank if not required. SAS Developer Notes: -At the point of running this script, the data has already been loaded (successfully) to the target table. Therefore the target dataset is the base libref.table (or format catalog) and can be referenced directly, or using either of the following macro variable(s): +At the point of running this script, the data has already been loaded (successfully) to the target table. Therefore the target is typically the base libref.table (or format catalog) itself and can be referenced directly (YOURLIB.YOURDATASET), or using either of the following macro variable: * `&orig_libds` * `&libref..&ds` The staged table is also available, as `work.STAGING_DS`. -If you are making changes to the target table as part of the hook, you are advised to "LOCK" and "UNLOCK" it using the [mp_lockanytable](https://core.sasjs.io/mp__lockanytable_8sas.html) macro (to prevent contention from other users making concurrent edits): +If you are making changes to the target table as part of the hook, then in order to prevent contention from other users making concurrent edits, you are advised to "LOCK" and "UNLOCK" it using the [mp_lockanytable](https://core.sasjs.io/mp__lockanytable_8sas.html) macro: ``` - /* perform lock on SOMELIB.SOMETABLE + /* lock SOMELIB.SOMETABLE */ %mp_lockanytable(LOCK, lib=SOMELIB, ds=SOMETABLE,