BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
xiaoyao026
Calcite | Level 5

Hello everyone

 

i'm trying to create a STP in EG, to allow user to manually type their comment, to save in dataset colume, for corresponding record.

 

i have tried following:

 

Step 1:  create a customer data column (name as "user_comment") via advance expression like:  &user_comment

 

Step 2:  create a filter as "user_comment = $user_comment"

 

Step 3:  in Prompt Manager, create a prompt as text (multi-line)

 

Step: 4:  run the process, to see if i can manually type comment, and save in that customer column.

 

but i found it doesn't work as i thought, it shows error like "can not find column".

 

would it be possible to guide me how to achieve my purpose if above way is not right?

 

Thank you very much in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
FredrikE
Rhodochrosite | Level 12

You need to add "" to the expression in order to resolve the macro variable: "&user_comment".

//Fredrik

View solution in original post

2 REPLIES 2
FredrikE
Rhodochrosite | Level 12

You need to add "" to the expression in order to resolve the macro variable: "&user_comment".

//Fredrik

xiaoyao026
Calcite | Level 5

Thank you very much, it works.

 

sorry for late feedback due to my business trip.

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