I've created the WORK datasets under precode and postcode and I would like to see how the data was populated. However I'm unable to figure out where this dataset is physically located in DI studio 4.9.
If I see the physical storage of other WORK datasets which was created as part of other transformation e.g. Extract, Sort...I could see as 'Job's default library for temporary tables' under Location. Is there a way that we can find the location without any support from SAS admin?
%let work=%sysfunc(pathname(WORK)); %put &work ;
For such cases I normally just copy/paste the DIS generated code into EG and run it from there as this gives you easy access to all the tables in Work whether registered in metadata or not.
I normally try to avoid pre- and post-code especially when it's creating tables/data. I'd rather go for a user written code node pre/post the transformation where I then create the work tables also as metadata (green tables). In doing so you can easily investigate the tables directly within DIS. It also makes such user written code "visible" in the job flow and it better support impact analysis as at least table level dependencies will show in the analysis.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.