BookmarkSubscribeRSS Feed
ScottBass
Rhodochrosite | Level 12

I'm on EG 7.15.

 

I've got a project with 5 process flows and about 50 program entries across the 5 flows.  I now want to change the code submission property "Action to take on error ..." from "Stop current branch" to "Stop all items".

 

Is there a way to bulk edit the program entries so I can set this property in one step?  (Answer: No, but wanted to confirm this).

 

Can I do this bulk edit in EG 8.1?

 

I know I can set the property at the project level, which is what I will do.  But I'll need to check all program entries to ensure I haven't set the customize code submission option.  Bulk edit would be useful here instead of having the check all 50 program entries.

 


Please post your question as a self-contained data step in the form of "have" (source) and "want" (desired results).
I won't contribute to your post if I can't cut-and-paste your syntactically correct code into SAS.
1 REPLY 1
Patrick
Opal | Level 21

Just thinking: If it's only for checking then couldn't you just do a search in project.xml?

For SAS8.2 the tag appears to be ActionOnError. I would assume it's the same in older EG versions.

Capture.JPG

 

And adding to above:

Using Notepad++ you could do a Find All as this gives you the number of hits and would let you know quickly if there is a program with another specific setting. 

Having done a quick inspection of the project.xml: If looks like changes to the default get set as override (same tag but different place in the xml). So eventually search for a string <tag>text

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 500 views
  • 1 like
  • 2 in conversation