cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
%3CLINGO-SUB%20id%3D%22lingo-sub-63438%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EConsentire%20il%20passaggio%20di%20oggetti%20dati%20da%20JMP%20a%20SAS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-63438%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3ETutto%2C%3CBR%20%2F%3E%20Sto%20imparando%20a%20usare%20SAS%20e%20sono%20entusiasta%20e%20molto%20emozionato%20di%20poter%20sfruttare%20l'interfaccia%20tra%20JMP%20e%20SAS.%3C%2FP%3E%3CP%3EMentre%20stavo%20impostando%20alcuni%20test%20utilizzando%20JMP%2C%20mi%20sono%20reso%20conto%20di%20quanto%20segue%3A%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3EAttualmente%20JMP%20consente%20il%20passaggio%20di%20una%20singola%20variabile%20da%20JMP%20a%20SAS%20come%20macro%20utilizzando%20la%20funzione%20SAS%20Submit.%20Tuttavia%2C%20credo%20che%20ci%20saranno%20molti%20vantaggi%20nel%20consentire%20il%20passaggio%20di%20pi%C3%B9%20variabili%20o%20oggetti%20dati%20come%20array%20associativi%20in%20%E2%80%8B%E2%80%8BSAS.%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%20%20%20%20%20%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3E%2F%2F%20Works%20%0Aex%20%3D%201%3B%20%0ASAS%20Submit(%0A%09%09%09%22%0A%09%09%09%20%25put%20%26amp%3Bex%3B%20%0A%09%09%09%22%2C%0A%09%09%09%20DeclareMacros(ex)%2C%0A%09%09%09%20GetSASLog(%20True%20)%0A%09%09%20%20)%3B%20%0A%0A%2F%2F%20Fails%20%0Aex%20%3D%20Associative%20Array(%20%7B%22red%22%2C%20%22blue%22%7D%2C%20%7B1%2C%202%7D%20)%3B%0ASAS%20Submit(%0A%09%09%09%22%0A%09%09%09%20%25put%20%26amp%3Bex%3B%20%0A%09%09%09%22%2C%0A%09%09%09%20DeclareMacros(ex)%2C%0A%09%09%09%20GetSASLog(%20True%20)%0A%09%09%20%20)%3B%20%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-63438%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CLINGO-LABEL%3EAutomazione%20e%20scripting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217353%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20Consenti%20il%20passaggio%20di%20oggetti%20dati%20da%20JMP%20a%20SAS%20-%20Stato%20modificato%20in%3A%20Rifiutato%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217353%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ECome%20notato%20sopra%2C%20SAS%20non%20ha%20strutture%20di%20dati%20complesse%20analoghi%20alle%20strutture%20in%20JSL.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-63509%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERi%3A%20Consenti%20il%20passaggio%20di%20oggetti%20dati%20da%20JMP%20a%20SAS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-63509%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EQuesto%20%C3%A8%20un%20suggerimento%20interessante%2C%20ma%20SAS%20non%20ha%20una%20struttura%20di%20dati%20macro%20analoga%20a%20un%20array%20associativo%2C%20quindi%20non%20c'%C3%A8%20niente%20a%20cui%20passare%20l'array%20associativo.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%C3%88%20possibile%20convertire%20quasi%20tutti%20i%20tipi%20di%20dati%20JMP%20in%20una%20stringa%20di%20caratteri%20utilizzando%20la%20funzione%20Char%20()%20e%20quindi%20utilizzare%20Declare%20Macros%20()%20per%20ottenere%20quella%20stringa%20di%20caratteri%20in%20una%20variabile%20macro.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eex%20%3D%20Associative%20Array(%20%7B%22red%22%2C%20%22blue%22%7D%2C%20%7B1%2C%202%7D%20)%3B%0Achar_ex%3Dchar(ex)%3B%0ASAS%20Submit(%0A%20%20%20%22%0A%20%20%20%20%25put%20%26amp%3Bchar_ex%3B%20%0A%20%20%20%22%2C%0A%20%20%20%20DeclareMacros(char_ex)%2C%0A%20%20%20%20GetSASLog(%20True%20)%0A%20%20%20%20)%3B%20%0A%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
0 Kudos

Allow passing data objects from JMP to SAS

All, 
   I am learning SAS and I am geeked and super excited to leverage the interface that JMP has to SAS. 

   As I was getting to set up some testing using JMP, I realised the following: 

 

   Currently JMP allows the passing of a single variable from JMP into SAS as a macro using the SAS Submit function. However, I believe there will be a lot of benefit to allow passing of multiple variables or data objects like associative arrays into SAS. 

 

     

// Works 
ex = 1; 
SAS Submit(
			"
			 %put &ex; 
			",
			 DeclareMacros(ex),
			 GetSASLog( True )
		  ); 

// Fails 
ex = Associative Array( {"red", "blue"}, {1, 2} );
SAS Submit(
			"
			 %put &ex; 
			",
			 DeclareMacros(ex),
			 GetSASLog( True )
		  ); 
2 Comments
Jeff_Perkinson
Community Manager

This is an interesting suggestion but SAS doesn't have a macro data structure analgous to an associative array, so there's nothing to pass the associative array to.

 

You can convert almost any JMP data type to a character string using the Char() function and then use Declare Macros() to get that character string into a macro variable.

 

ex = Associative Array( {"red", "blue"}, {1, 2} );
char_ex=char(ex);
SAS Submit(
			"
			 %put &char_ex; 
			",
			 DeclareMacros(char_ex),
			 GetSASLog( True )
		  ); 
Jeff_Perkinson
Community Manager
Status changed to: Not Planned For Now

As noted above, SAS doesn't have complex data structures analgous to the structures in JSL.