For the latest version of JMP Help, visit JMP.com/help.


Publication date: 04/30/2021

Sample Scripts

The JMP Samples/Scripts/SAS Integration folder contains sample scripts. To run the stored process scripts successfully, the stored processes need to be placed on your SAS Metadata Server. The stored processes can be found in the sampleStoredProcesses.spk file, also in this folder.

To import sampleStoredProcesses.spk into your SAS Metadata Server:

Caution: We recommend that you import these stored processes into a SAS Metadata Server that is used for testing rather than into a production system.

1. Run SAS Management Console.

2. Connect to your SAS Metadata Server using an account with administrative privileges.

3. Expand the BI Manager node in the left pane of the SAS Management Console.

4. Navigate to the folder in the tree under which you would like to create the imported sample stored processes.

5. Right-click that folder in either the left pane or the right pane of the SAS Management Console and select Import.

The Import Wizard appears.

6. Enter the full path to sampleStoredProcesses.spk or use the Browse button to navigate to it.

7. Select All Objects in the Import Options section of the wizard.

8. Click Next.

The next panel reports that during the import process, you must specify values for Application servers and Source code repositories.

9. Click Next.

Select which of the application servers defined in your SAS Metadata Server that you would like to use to execute the imported stored processes.

10. Select an application server from the drop-down list under Target.

11. Click Next.

Select the source code repository (directory) defined on your SAS Metadata Server where you would like the SAS code for the imported stored processes to be placed.

12. Select a source code repository from the drop-down list under Target Path.

13. Click Next.

The next panel gives a summary of what occurs if you click Import.

14. Review the information about the panel, and if it looks correct, click Import.

15. During the Import process, you might be asked to provide login credentials for connecting to the metadata server to perform the import. Provide credentials with administrative privileges and click OK.

After the import completes, you will find a folder named BIP Tree under the folder that you imported the stored processes into. Under BIP Tree is a folder named JMP Samples, and in the JMP Samples folder are two sample stored processes: Shoe Chart and Diameter.

Please note that the paths to the sample stored processes needs to be adjusted in the sample scripts storedProcessHTML.jsl and storedProcessJSL.jsl to match the folder into which you imported the sample stored processes. Otherwise, these scripts will not work correctly.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).