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.png

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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.

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