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


Publication date: 11/29/2021

SAS Results

results<<Delete All Result Files()

Description

Deletes all files created by the SAS Submit or Stored Process execution. Note that any result files that are still in use are not deleted.

Returns

1 if the deletion was successful; 0 if some of the files could not be deleted.

results<<Get Directory()

Description

Gets the directory where the results generated by the stored process or SAS submit are located.

Returns

A quoted string.

results<<Get Log()

Description

Get the SAS Log from the execution of the stored process or SAS submit.

Returns

A quoted string.

results<<Get Main Result File Name(<Fullpath(Boolean)>)

Description

Gets the full path of the main result file generated by the stored process or SAS submit.

Returns

A quoted string.

Optional Named Argument

Fullpath(Boolean)

If true, the main result filename is returned as a full path. The default value is false.

results<<Get Output()

Description

Gets the SAS Listing output from the execution of the stored process or SAS submit.

Returns

A quoted string.

results<<Get Output Datasets()

Description

Get a list of output data set generated by the SAS Submit that created this SAS Results object.

Returns

A list of data set names in the form “libname.membername”.

results<<Get Result File Info(<Mimetype(mime-type)>, <Fullpath(Boolean)>)

Description

Get information about result files that were generated by the execution of the stored process or SAS submit.

Returns

List of two lists of quoted strings. The first list is filenames, and the second list is the MIME-type of the corresponding file from the first list.

Optional Arguments

Mimetype(mime_type)

Restricts the set of files for which information is returned to only those files with the specified quoted MIME-type. If not specified, information about all generated files is returned.

Fullpath(Boolean)

If true, the filename returned for each result file is returned as a full path; if false, only the name of the file is returned. The default value is false.

results<<Make JMP Report()

Description

Parses the ODS XML results and creates a JMP report.

Returns

The display box for the report.

results<<Open All Results()

Description

Opens all results generated by the execution of the stored process or SAS submit.

Returns

Void.

results<<Open Result File(filename, <Run Script(Boolean)>)

Description

Attempts to open the result file with the given name.

Returns

JMP Data Table if one was opened.

Required Argument

filename

Specifies the quoted name of the file from the generated results to open. filename should just be the name of the file, not the full path. If filename is a filename with no extension, both JMP data tables and JSL scripts in the results are searched for a match, and if both exist, both are opened.

Optional Argument

Run Script(Boolean)

If true, and if filename is a JSL script, the script is executed. If false, filename is just opened, even if it is a JSL script.

results<<Run Script(filename)

Description

Looks for the JSL file in the results with the given filename and runs it if it finds it.

Returns

Void.

Argument

"filename"

Specifies the quoted name of the JSL file from the generated results to open. The filename argument should just be the name of the file, not the full path, and it does not need to include the .jsl extension.

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