BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Bonjour,
situation: je suis dans un frame XXX, avec du code jsp généré par un programme .sas, lors d'une macro, dans un data null :

% macro pg1;
data null;

code sas...

file_webout;
/*============*/
/* Debut html */
/*============*/
put '';
etc....
put etc....avec 3 zones de saisies (nom, prénom, matricule), comme ceci
put '';
put '';
put 'Nom : ';
put '';
put '';
put 'Prénom : ';
put '';
put '';
put 'Matricule : ';
put '';
put '';
put '';

j'ai bien généré du jsp, j'obtiens bien mes 3 zones

Nom : Prénom : Matricule :

je saisis les informations partiellement ou complétement...

et, je voudrais executer (par un bouton je pense?)
une query (proc sql), puisque je suis toujours dans ma macro principale,

et retourner le résultat de cette query dans un combobox (çà je l'ai fait déjà en test, çà marche bien)...

par contre ce que je ne sais pas comment faire à ce stade:

comment faire exécuter le code de la query APRES la saisie des 3 zones, tout en restant dans mon sas ?

dois-je effectuer un autre store process ? avec passage des parametres des 3 zones ?
dois-je 'sortir' de ce store process ?

puis-je effectuer avec un bouton 'rechercher' par exemple, l'éxécution de la query, qui va 'rafraichir' la combobox ?

dois je faire un 'autre' frame où s'affichera la combobox,

car en fait, je veux 'après cela', choisir un item de la combobox (et Valider), pour exécuter un .sas (store process aussi !) qui affichera en final le résultat sur ce frame...?


j'espère bien me faire comprendre...

d'habitude, et çà marche, je saisie des paramètres dans ce formulaire Html/jsp et quand je 'Valide' par un bouton (Submit), j'exécute le programme en SP final,

dans ce cas présent, je voudrais, d'abord saisir des paramètres,
puis avec un 'truc', évènement ou autre, exécuter ou rafraichir la query qui nourrit la combobox, je reste dans le frame Html/jsp...
puis choisir dans la combo l'élément (nouveau paramètre), qui va être passé dans un SP pour l'affichage final...

merci beaucoup
1 REPLY 1
Cynthia_sas
SAS Super FREQ
This seems to be a question for SAS Tech Support. To find out how to contact Tech Support, refer to: http://support.sas.com/techsup/contact/index.html

For an overview of how to execute stored processes, refer to:
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/using.html#stpservice

For information on SAS BI Web Services, refer to:
http://support.sas.com/rnd/itech/doc9/dev_guide/websrvcs/index.html

For an overview of the SAS Stored Process Web Application and the Web Infrastructure Kit, refer to:
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/webapp.html
http://support.sas.com/rnd/itech/doc9/portal_dev/index.html

For an example of developing a client application in Visual Basic, refer to:
http://support.sas.com/rnd/itech/papers/VBClient.pdf

For more information on the SAS Foundation Services, which include the Stored Process Service API, refer to:
http://support.sas.com/rnd/itech/doc9/dev_guide/dist-obj/javaclnt/found/index.html

For more information on ADO/OLE DB, refer to:
http://support.sas.com/rnd/eai/oledb/index.htm

cynthia

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
  • 1 reply
  • 680 views
  • 0 likes
  • 2 in conversation