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

Hello,

Since this question is about a norwegian letter "Ø", it may be in the limit of what you are able to answer. But I will try. 🙂

 

I am working succesfully with chain of Stores Processes (StP), but now I have met a problem I need help with.

The StP I want to invoke from the first StP is placed in a folder with a name starting with the letter "Ø". This gives me trouble. I could of course rename the folder, but that is not what I want.

 

Du you have an idea of how to solve this?

 

 

data _null_;

                file _webout;

                put "<h1 style=color:ForestGreen align=center> Interne konti med siste transaksjon";

                put "</h1>";

                put "<h3 style=color:Black align=center> Valgt dato gjenspeiler siste dag i foregående måned.";

                put "</h3>";

                put "<div Align=Center>";

                put "<body>";

                put "<form ACTION='&_URL'>";

                put "<input TYPE='HIDDEN' NAME='_action' value='form,properties,execute,nobanner,newwindow'>";

put "<input TYPE='hidden' NAME='_program' VALUE='/Landkreditt Bank Informasjonsplattform/Rapportering/Økonomi/Regnskap/Stored Process/Under arbeid/Interne_konti_med_siste_trans_StP_Print'>";

/*The remaining PUT statements in this DATA step define the HTML table in which we will put our selection menu.*/

                put "<table BORDER=1 CELLSPACING=1 CELLPADDING=4 WIDTH='30%'>";

                put "<tr BGCOLOR='ForestGreen'>";

 

run;

 

Regards

 

Morten Fredrik Amundsen

1 ACCEPTED SOLUTION

Accepted Solutions
BrunoMueller
SAS Super FREQ

Morten

 

Looks like an encoding problem to me. Try adding ENCODING= option to the FILE statement, see example below

 

file _webout encoding='utf-8';

Hope that will.

 

If this does not help, contact SAS Denkmark technical support, I am sure they have had this challenge before.

 

Bruno

View solution in original post

6 REPLIES 6
BrunoMueller
SAS Super FREQ

Morten

 

Define "gives me trouble", what happens with the Ø character.

 

Can you call the STP directly using the URL or the SASStoredProcess web app

 

Bruno

AMUMOR_SAS
Obsidian | Level 7

Hi Bruno,

 

I have attached a Word Document which I think defines my trouble.

 

Regards

 

Morten Fredrik

BrunoMueller
SAS Super FREQ

Morten

 

Looks like an encoding problem to me. Try adding ENCODING= option to the FILE statement, see example below

 

file _webout encoding='utf-8';

Hope that will.

 

If this does not help, contact SAS Denkmark technical support, I am sure they have had this challenge before.

 

Bruno

AMUMOR_SAS
Obsidian | Level 7
Hello Bruno,

Thanks, that worked. 🙂

Morten Fredrik
Quentin
Super User
I don't know much about this, but I will look into the encoding option for both the SAS session and perhaps the browser. If you just put the URL into a browser, can you get the STP to work? If you put a URL into the browser, that goes to /Landkreditt Bank Informasjonsplattform/Rapportering/, can you see the Økonomi folder their?
The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.
AMUMOR_SAS
Obsidian | Level 7

Hi Quentin,

 

Thanks to both you and Bruno for the Replys.

 

I have attached a Word Document to my Reply to Bruno. See I you are able to open it. I think it explaines my trouble.

 

Regards

 

Morten Fredrik

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 6 replies
  • 1527 views
  • 3 likes
  • 3 in conversation