BookmarkSubscribeRSS Feed
Mushy
Quartz | Level 8

options metaserver=xxxxx /* network name/address of the */
/* metadata server. */

metaport=8561 /* Port Metadata Server is listening on.*/

metauser="sasadm@saspw" /* Domain Qualified Userid for */
/* connection to metadata server. */

metapass="xxxxxxx!" /* Password for userid above. */

metaprotocol=bridge /* Protocol for Metadata Server. */

metarepository=foundation; /* Default location of user information */
/* is in the foundation repository. */
/* Initialize the macro variables that create canonical tables. */


/* Initialize the macro variables that create canonical tables. */

 

%mduimpc();
/*%mduextr(libref=work); */

/*Clean up work*/
/*%mduimpc(libref=work, maketable=1);*/

 


/* Create the person table. */
data &persontbla ;
%definepersoncols;
infile datalines delimiter=',' missover;
input keyid name description title;
datalines;
A1234,Mush_test,test role,
;

/* Create the grpmems table. */
data &idgrpmemstbla;
%defineidgrpmemscols;
infile datalines delimiter=',' missover;
input grpkeyid memkeyid;
datalines;
A5CDBSH.A50000Y6,A1234
;

/* Load the information from the work library into the metadata server. */

%mduimplb();

 

 

and I Get the following error:

 

MPRINT(MDUIMPLB): data _null_;
MPRINT(MDUIMPLB): file _outxml mod;
MPRINT(MDUIMPLB): put "</Metadata>";
MPRINT(MDUIMPLB): put "<Reposid>$METAREPOSITORY</Reposid>";
MPRINT(MDUIMPLB): put "<NS>SAS</NS>";
MPRINT(MDUIMPLB): put "<Flags>268435456</Flags>";
MPRINT(MDUIMPLB): put "<Options/>";
MPRINT(MDUIMPLB): put "</UpdateMetadata>";
MPRINT(MDUIMPLB): run;

NOTE: The file _OUTXML is:

NOTE: 6 records were written to the file _OUTXML.
The minimum record length was 10.
The maximum record length was 34.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

SYMBOLGEN: Macro variable OUTRESPONSE resolves to
MLOGIC(MDUIMPLB): %IF condition "&outresponse" EQ "" is TRUE
SYMBOLGEN: Macro variable RECFM resolves to
MPRINT(MDUIMPLB): filename _respons temp ;
MLOGIC(MDUIMPLB): %IF condition (%symexist(_mduimplb_timer_)) is FALSE
MPRINT(MDUIMPLB): proc metadata in=_outxml out=_respons header=FULL;
MPRINT(MDUIMPLB): run;

ERROR: The method is not directed at a repository. (The Reposid parameter is blank.)
NOTE: PROCEDURE METADATA used (Total process time):
real time 0.07 seconds
cpu time 0.03 seconds

NOTE: The SAS System stopped processing this step because of errors.
MLOGIC(MDUIMPLB): %LET (variable name is PROC_MD_RC)
SYMBOLGEN: Macro variable SYSERR resolves to 3000
MLOGIC(MDUIMPLB): %IF condition (%symexist(_mduimplb_timer_)) is FALSE
SYMBOLGEN: Macro variable PROC_MD_RC resolves to 3000
MLOGIC(MDUIMPLB): %IF condition (&proc_md_rc > 4) is TRUE
MLOGIC(MDUIMPLB): %LET (variable name is NOBJS)
SYMBOLGEN: Macro variable CURSTRTOBS resolves to 1
SYMBOLGEN: Macro variable CURBLKOBS resolves to

 

 

Anyone faced and fixed such an issue?

 

Thanks,

MushY.

 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 60 views
  • 0 likes
  • 1 in conversation