BookmarkSubscribeRSS Feed
fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Hello!

I am struggeling with task templates in EG. I would like to use them to build up subqueries. 

A subquery is normally imited to a project, i.e. does only make sense in that context ... now as I do not want to litter the place with "use once" templates for specific (sub)queries:  Is it possible to limit templates to project scope .. or is there something like a temporary tempate?

Cheers

FJa

6 REPLIES 6
fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Hello Kurt!
Thank you for your reply. In EG you can store an sql query (generated by EG) as a task template. These can be used to build up subqueries in an point and click fashion. I am not sure if they are in line with the term template in the PROC TEMPLATE context.
Cheers

 

edit:

.. and i did not manage to find them using list with PROC TEMPLATE ... but they get listed in the template section of tasks in the EG UI ... so my answer to your question would be a careful 'no'. But I am on shaky ground here.

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Hello Ahmed!

Thank you very much for your contribution. I do know the first link. It is a fine Introduction to the usage af task templates ... but does not answer the question posed, unfortuately.

The scond link is new to me, I will have a look during lunch ... and will report 😉

Cheers fja

 

edit:

The Webinar quoted is full of nice tips but does not answer my question (posed in the intial posting).

Kurt_Bremser
Super User

I see. I am quite some time away now from EG (having retired last year), so I have come back to being a pure "code programmer".

And I have almost never used the Query Builder back then, I have found that I am usually faster typing my SQL code than using the point-and-click interface.

So my approach would rather be to pack often used code snippets into autocall macros.

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Hi Kurt!

Congrats to your ritrement! 😃 ... I have read about that on LinkedIn.

You are all correct that typing SQL directly is way faster and provides way more control. It is just, that I am currently working for "business users" ... hence the question.

 

Cheers fja

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 1508 views
  • 2 likes
  • 3 in conversation