Hello All,
We would like to make some changes to the SCD Type 2 loader in SAS DI. Is it possible to copy the standard loader to the custom transformation folder so that we can do changes to it?
The reason we want to do it is to enhance the option "Close out records not in source table". Currently it set sets the
ETLS_CLSDATE = DATE();
And we would like to specify the date and not the current date when the program is running.
Regards,
Nagraj
That is one flaw many have discovered.
Unfortunately, you cannot tweak the DI Studio native transformations, unless you a re a skilled Java developer.
What you can do is take the generated code from the standard transformation, and paste into a User Written Transformation.
It will not be as "nice" as the original one, and some adjustments/configuration to make it work.
I am used to programming in java. If you can point me to the .jar or .class file I can try to reverse engineer it. Of course source code will be a lot easier 🙂
This is a outside my realm. I found this (old) paper:
May contact you SAS representative or open a SAS track to get better/more detailed guidelines.
One caveat, if you build you own java transformation, that will for not be eligible for migration to Viya 4 when that day comes (please verify with SAS).
Thanks, Yes I am aware of this. I was hoping something will have changed after such a long time. :-). I have a basic custom transform that does the job. Back to the drawing board for now.
Thanks that is another method that I did not think about. Will look into it.
Dive into keynotes, announcements and breakthroughs on demand.
Explore Now →Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.