BookmarkSubscribeRSS Feed
jklein271
Calcite | Level 5
I have several EG 4.1 and 4.2 projects currently scheduled without any issue. These projects include mutiple programs, links to create a production process flow, etc. However, I just recently started playing around with the conditional logic feature (macro variables specifically) in 4.3 and I am loving it. It is much easier and more powerful than using the macro facility to control error logic . I've tested my project numerous times by executing the production process flow and everything works as expected. I then scheduled the project to run daily and that's when things went south. It appears that once I've scheduled the same project, it doesn't want to continue executing after it's run the conditional logic code. In my log output, the last thing I see is the EG condition code. The program hangs as soon as it hits this portion of the flow and continues to show as "Running" until it hits the 8 hour scheduled task time cap I set. Has anyone successfully scheduled a project with conditional logic or can point out something I am missing? Once the project has kicked off, I'd expect it to behave the same way as running the process flow manually.

Last portion seen in the log output is below. The &download_err. does not resolve to 0 so it should be directed to the else code specified in the GUI and associated with rc = 2.

Thanks,

Jordan

3 data _NULL_; rc = 0;
4 if &download_err. = 0 then
5 rc = 1;
6 else
7 rc = 2;
8 CALL SYMPUT('_egrc', PUT(rc,1.));
9 stop;
10 run;

NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
Memory 2083k
OS Memory 6364k
Timestamp 4/28/2011 12:58:37 PM Message was edited by: jklein271
1 REPLY 1
jklein271
Calcite | Level 5
http://support.sas.com/kb/42/975.html

Grrr. I hope this finds itself in a hotfix very soon.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 835 views
  • 0 likes
  • 1 in conversation