BookmarkSubscribeRSS Feed
shahjay
Calcite | Level 5

Hello Experts,

 

I have developed a simple web application using the SAS Stored Process on Windows Server. It's absolutely working fine there but when I have migrated to Linux environment - It is working fine till the second screen. When User is moving to next screen after entering the values into the second screen, it doesn't passing the macro variables of input form to third screen. They were defined as Global.

 

Just to simplify:

Screen 1: Having simple text box to mention the Name (Two global macro variables - Name and Dataset name)

Screen 2: Having three text box to mention the Address (Three Macro Variables Address1, Address2 & Postal Code. Dataset name and Name has been forwarded to this screen)

Screen 3: Report output (All the above variables defined as Global and should pass here to update the table and generate the report).

 

But screen 3 is not having all the macro variables and this issue is only in Linux (RHEL) operating system.

 

Need help to resolve this issue.

 

Thanks in advance

3 REPLIES 3
AhmedAl_Attar
Rhodochrosite | Level 12

Hi,

 

Check

- The filename case of your SAS programs containg/storing the stored process logic - Linux is case sensetive unlike Window. make sure to store all filenames in lower case on Linux.

 

- The directory/file permissions of your SAS programs containg/storing the stored process logic - Depending how you running your Stored Process on Linux, Ensure the Account ID interacting with your stored process, has access (Directory: r-w, File:r-- ) to all the stored process sas programs.

 

Hope this helps,

Ahmed 

FredrikE
Rhodochrosite | Level 12

Maybe you need to use session variables, could be so that there is a new session for each step you have. Check this link, I have succesfully used sessions in some of my web applications.

 

http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/sessions.html

 

//Fredrik

J_Fredlund
Fluorite | Level 6
Can you see the variables being chained together in the URL from 2 to 3?

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 3 replies
  • 1131 views
  • 0 likes
  • 4 in conversation