skip transformations with out error message (SAS DI).

Reply
Contributor
Posts: 62

skip transformations with out error message (SAS DI).

Hi ,

Req:    Check the condition and if true run the transformations which follow it and skip it if the condition fails.

Ex: if there is a macro say in precode (check)

%macro x();

%if %sysfunc(exist(dataset)) %then %do;

            .... checking time stamp code . if timestamp is greater than run date of control table then process further steps else skip the transformations (Here abort is giving error message)

%end;

%mend;

%x;

Please suggest me some method which will not give error message and skip the unnecessary execution. (like goto statement)

Thanks in advance

Super User
Posts: 5,380

Re: skip transformations with out error message (SAS DI).

Perhaps this is something you could try (Conditional Start and End transformations):

SAS(R) Data Integration Studio 4.9: User's Guide

Data never sleeps
Contributor
Posts: 62

Re: skip transformations with out error message  (SAS DI).

hi linush,

Thank You for the reply but I am using di 4.21 and that transformation is not available.

Hope there is another solution for it..

Thanks again

Ask a Question
Discussion stats
  • 2 replies
  • 243 views
  • 0 likes
  • 2 in conversation