Your SAS programs, embedded in web apps and elsewhere

Chain of Stored Process

Accepted Solution Solved
Reply
Contributor
Posts: 27
Accepted Solution

Chain of Stored Process

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. Smiley Happy

 

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


Accepted Solutions
Solution
‎04-20-2017 04:00 AM
SAS Super FREQ
Posts: 708

Re: Chain of Stored Process

Posted in reply to AMUMOR_SAS

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


All Replies
SAS Super FREQ
Posts: 708

Re: Chain of Stored Process

Posted in reply to AMUMOR_SAS

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

Contributor
Posts: 27

Re: Chain of Stored Process

Posted in reply to Bruno_SAS

Hi Bruno,

 

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

 

Regards

 

Morten Fredrik

Solution
‎04-20-2017 04:00 AM
SAS Super FREQ
Posts: 708

Re: Chain of Stored Process

Posted in reply to AMUMOR_SAS

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

Contributor
Posts: 27

Re: Chain of Stored Process

Posted in reply to Bruno_SAS
Hello Bruno,

Thanks, that worked. Smiley Happy

Morten Fredrik
PROC Star
Posts: 1,322

Re: Chain of Stored Process

Posted in reply to AMUMOR_SAS
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?
Contributor
Posts: 27

Re: Chain of Stored Process

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

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 191 views
  • 3 likes
  • 3 in conversation