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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

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

Browse our catalog!

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