BookmarkSubscribeRSS Feed
ChrisLemberg
Fluorite | Level 6
Hi,

I have a problem with Date-Parameters and Stored Processes.

I am building a new report which is supposed to have a Date-Parameter. I created this Report with EG 4.1 and built the parameter via Parameter Manager.
When I run my report everything works perfectly - I have a prompt and I chose the date I want to be the effective date.
But when I try to create a stored process there a problems compiling the source code. The error message is something like "... you have to enclose a date-variable with comma". With this Error Message I am not able to create this stored process respectively run the stored process if I ignore the Error Message.

I hope you can help me with this problem and point a solution.

Greetings
Chris
1 REPLY 1
Vince_SAS
Rhodochrosite | Level 12
It is really difficult to tell what is happening without seeing the prompt definition, stored process source code, and SAS log.

Date prompts return values to the stored process code using the format DDMMMYYYY, so your stored process code needs to be able to handle that format.

Vince DelGobbo
SAS R&D

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 624 views
  • 0 likes
  • 2 in conversation