BookmarkSubscribeRSS Feed
thomash123
Calcite | Level 5

Hi all,

I would like to export a job I've built in the DI Studio 4.21M3 to a CWM/XMI file, that can be read in another metadata tool. How would I do that actually? All I can find is a functionality to trigger an SPK export.

Thanks and regards,

Thomas

6 REPLIES 6
Patrick
Opal | Level 21

Hi

I've never done it but when searching DIS's help using keyword 'CWM' I find this entry: "Exporting Metadata with a SAS Metadata Bridge".

When choosing File/Export/Metadata I'm getting a long list of available export formats in my DIS instance (4.21).

HTH

Patrick

thomash123
Calcite | Level 5

I see, that did the trick. I was trying to export directly via right mouse click on the job.

But here it seems that I can only export tables and not jobs. Do I miss something?

Thanks,

Thomas

nar_sas
SAS Employee

There is no CWM export facility for jobs, only for tables and columns.  One possible way to get CWM job output using some programming would be to first export the job into the  .spk package file which contains the  full job XML if you include associated objects such as physical tables in it.  Then write an XSL conversion on the job XML in the spk package  to convert it to CWM format.  Development does this sort of thing when it does differencing of job XML for versioning, which is coming in the 9.3 release of DI Studio.  The 9.3 differencing facility pulls out the job XML from the .spk package content, and runs an XSL conversion on it to make the view more user friendly.  You could do something similar to convert to another format.  The OMR metadata format is loosely based on CWM structures, so there would be a fairly close correlation to CWM object types. 

There has been a request to add this capability in the future, but no near term plans for it. 

Hope this helps,

nar@sas

thomash123
Calcite | Level 5

Hi,

as we are currently facing the same question: Has there been any update on this topic?

Thanks,

Thomas

Lars_Rishøj
Calcite | Level 5

Hi all.

 

I'm currently engaged in a project using multiple technologies including SAS/DI Studio and a non-SAS Enterprise Metadata Catalog solution has been chosen.

 

Much of the basic data management are done using SAS/DI Studio (+500 jobs) with a typical job comprising 40-60 "objects" (tables, joins, mappings, business rules, etc.).

 

In order to establish E2E data lineage and impact analysis we need to registrer the flows, dependencies, etc. in the "Enterprise Data Catalog" to be used by Business, Data Scientists and Data Engineers based on common Glossary/Terms across the value chain.

 

Have tried to import a SPK exported out of SAS/DI Studio and imported into the Data Catalog, During the import it seems as if lots of objects are imported via the metadata bridge for SAS/DI Studio but of 55 objects in the SAS/DI job only 12 gets surfaced within the Data Catalog.

 

It sounds as if there is a way as the SPK actually contains all the right information but this is not supported by SAS's CWM/XMI export/import bridges.

 

Dispite all the major vendors wishes for a single vendor strategy, this is rarely (if never) the case in an enterprise organisation. Hence there is a need/request to be able to exchange metadata and integrate this in built for purpose Metadata Mgmt/Data Catalog solutions like Collibra, Alation, Waterline, Informatica, Talend, Oracle, SAP, etc.

 

So, since this is not currently supported by SAS (we need this) have anyone had success in exporting a SPK and manipulate the XML-structure to successfully import a SAS/DI Studio job/flow to any of the above technologies?

 

Thanks, Lars

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

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.

Discussion stats
  • 6 replies
  • 5095 views
  • 0 likes
  • 4 in conversation