ERROR: Variable groupuri is uninitialized. #56

Closed
opened 2023-10-16 14:19:17 +00:00 by allan · 0 comments
Owner

The following error affects the /public/viewdata service, only when running on SAS 9 EBI against a metadata table for which a physical table does not exist (or cannot be read using the META engine):

MPRINT(X):   data work.groups;
MPRINT(X):   length groupuri groupname $32 groupdesc $128 ;
MPRINT(X):   output;
MPRINT(X):   stop;
MPRINT(X):   run;

ERROR: Variable groupuri is uninitialized.
ERROR: Variable groupname is uninitialized.
ERROR: Variable groupdesc is uninitialized.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: Due to ERROR(s) above, SAS set option OBS=0, enabling syntax check mode. This prevents execution of subsequent data modification statements.
WARNING: The data set WORK.GROUPS may be incomplete.  When this step was stopped there were 0 observations and 3 variables.

The root cause is the implementation of STRICT MODE: https://core.sasjs.io/mp__init_8sas.html

The fix is to simply instantiate those variables, which will enable an empty set of tables to be displayed to the user.

The following error affects the `/public/viewdata` service, only when running on SAS 9 EBI against a metadata table for which a physical table does not exist (or cannot be read using the META engine): ``` MPRINT(X): data work.groups; MPRINT(X): length groupuri groupname $32 groupdesc $128 ; MPRINT(X): output; MPRINT(X): stop; MPRINT(X): run; ERROR: Variable groupuri is uninitialized. ERROR: Variable groupname is uninitialized. ERROR: Variable groupdesc is uninitialized. NOTE: The SAS System stopped processing this step because of errors. NOTE: Due to ERROR(s) above, SAS set option OBS=0, enabling syntax check mode. This prevents execution of subsequent data modification statements. WARNING: The data set WORK.GROUPS may be incomplete. When this step was stopped there were 0 observations and 3 variables. ``` The root cause is the implementation of STRICT MODE: https://core.sasjs.io/mp__init_8sas.html The fix is to simply instantiate those variables, which will enable an empty set of tables to be displayed to the user.
allan closed this issue 2023-10-16 15:10:04 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dc/dc#56
No description provided.