cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
jmpbeginner
Level III

using JSL to rename 'Oneway( )' output filename?

I have been using 'output table name( )' to rename all of my summary tables, but this does not seem to work for with oneway( ):


example:

dt_Oracle<<Oneway(

  Y( :Average ),

  X( :TOOL_ID ),

  Each Pair( 1 ),

  Box Plots( 1 ),

  Comparison Circles( 1 ),

  X Axis Proportional( 0 ),

  Grand Mean( 0 ),

  By( :Rec ),

  output table name("OneWay_"||tool||"_Average by Tool_ID_"||startDate||"_to_"||endDate||"_original"),

  SendToReport(

  Dispatch(

  {},

  "Oneway Plot",

  FrameBox,

  {DispatchSeg(

  Box Plot Seg( 1 ),

  {Box Style( "Outlier" ), Line Color( "Red" )}

  ), DispatchSeg(

  Box Plot Seg( 2 ),

  {Box Style( "Outlier" ), Line Color( "Red" )}

  )}

  )

  )

);

I'm guessing it does not work since Oneway( ) is not a table?  is there any way to rename the oneway( ) report using JSL?

thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: using JSL to rename 'Oneway( )' output filename?

You can use << set window title.

Example:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

obj = dt << Oneway( Y( :Height ), X( :Age ) );

obj << set window title( "test" );

View solution in original post

2 REPLIES 2
ms
Super User (Alumni) ms
Super User (Alumni)

Re: using JSL to rename 'Oneway( )' output filename?

You can use << set window title.

Example:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

obj = dt << Oneway( Y( :Height ), X( :Age ) );

obj << set window title( "test" );

jmpbeginner
Level III

Re: using JSL to rename 'Oneway( )' output filename?

perfect! thank you!