BookmarkSubscribeRSS Feed
asasgdsfa
Obsidian | Level 7

Hi all

 

Would anyone be able to advise me, how to load a deltacode to the VDMML?

It is motivated by metadata similar for multiple models, but I can't use global metada. The dmcas_metachange is not versatile enough for me, so the delta code is my choice. The example below is simplified.

 

In the VDMML code node, I have (successful) setting of the metadata:

data _null_;
    file "&dm_file_deltacode.";
    put "if lowcase(name) = 'var' then do; impute = 'DISTRIBUTION'; end; ";
run;

This works, now I want to load the setting from a table. My idea is to have

data _null_;
    file "&dm_file_deltacode.";
    set public.impute;
run;

When I try this, it doesn't change the metadata. The table public.impute has a single column with records: 

put "if lowcase(name) = 'var1' then do; impute = 'DISTRIBUTION'; end; ";
put "if lowcase(name) = 'var2' then do; impute = 'DISTRIBUTION'; end; ";
put "if lowcase(name) = 'var3' then do; impute = 'DISTRIBUTION'; end; ";

 

Will anything like this work?

 

 

 

 If you have an idea how to load the settings in another way, feel free to suggest it :-).

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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