Choose Language Hide Translation Bar
Highlighted
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
Highlighted
ms
Super User ms
Super User

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
Highlighted
ms
Super User ms
Super User

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

Highlighted
jmpbeginner
Level III

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

perfect! thank you!

Article Labels

    There are no labels assigned to this post.