BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi
I am using a Stack Task to generate a report in EG.
Since i Have column sundry code which has 10 occurence in Oracle table,so i have to use Stack task to get it in one task.
I am able to get it in one column when data is there.
But when there is no data in my table the stack task doesnt craete a new column for me and bcoz of that what ever Stored Process i am trying to run it gives an error that this new column is missing.
Any other solution for this.
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I think this previous posting is still relevant:
http://support.sas.com/forums/thread.jspa?messageID=6968ᬸ

The Stack Task (PROC TRANSPOSE) is not a reporting procedure. It is meant to create an output data set on which you could then run PROC PRINT or PROC REPORT or PROC TABULATE.

In the previous posting, I recommended that you contact Tech Support. If you are turning this code into a Stored Process, then PROC TRANSPOSE might not be the best solution. If you used a DATA step program, you could control what happened in the "no data" situation. I still think it's a good idea to contact Tech Support, especially since you're working with stored processes as well as PROC TRANSPOSE.

cynthia

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
  • 699 views
  • 0 likes
  • 2 in conversation