BookmarkSubscribeRSS Feed
clcl
Calcite | Level 5

Hi ,

does anyone know how i can stop a flow in sas di when i have an error in a transformation ?

Thanks

CL

3 REPLIES 3
LinusH
Tourmaline | Level 20

When you say DI, you mean when you are actually running inte DI Studio GUI?

When executing om the WorksSpace server, there is no interaction between DIS and the server session, DIS is responsible for generating the current SAS code based on metadata, and then submit that code to the server.

So no, DIS itself cannot stop after an error.

What you can play with are global SAS options that handle how the SAS session should respond to error events. I think the default is that after a syntax error, SAS will set obs=0, and then just syntax check the rest of the code.

Question is, why do you want to stop execution when working in DIS? I can't say that I ever had that need.

Data never sleeps
umashankersaini
Quartz | Level 8

Hi,

Return code check transformation could do something for you specially when setting the action with error but not specially to stop DIS if error occurs.

why are you looking for it ?

Regards

Uma Shanker Saini

DaveR_SAS
SAS Employee

This topic and chapter from the user guide might help (Perform Actions Based on the Status of a Transformation): SAS(R) Data Integration Studio 4.8: User's Guide


sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3 replies
  • 1885 views
  • 3 likes
  • 4 in conversation