cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Hobbi
Level II

I am splitting a table and looking to name it something different.

Hey all,

 

Hopefully something simple here but I have a JSL where I am taking a table and splitting it. I want to name it something but it keeps giving itself an "Untitled ###" table name. I want to name it "new_table_split"

MOSFET_TLM << Split("new_table_split",
	Split By( :DeviceID ),
	Split( :LotID, :WaferID, :TestLevel, :XLoc, :YLoc, :Rsh, :Rcon ),
	Remaining Columns( Drop All ),
	Sort by Column Property
);
1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

Re: I am splitting a table and looking to name it something different.

The argument for naming the table is Output Table().

 

dt=open("$SAMPLE_DATA\Big Class.jmp");

dt << Split(
	Split By( :sex ),
	Split( :height ),
	Group( :name ),
	Output Table( "my split table" ),
	Remaining Columns( Drop All ),
	Sort by Column Property
);

There are three ways to learn this.

 

1. Perform the Split interactively, using the option in the Split dialog to name the output table and then examine the Source script in the resulting table.

2022-09-30_16-42-32.637.png

 

2. If you have JMP 16 or greater the Enhanced Log window will show you the script.

2022-09-30_16-46-49.183.png

3. The Help->Scripting Index entry for Split shows the syntax.

2022-09-30_16-49-21.526.png

-Jeff

View solution in original post

2 REPLIES 2
Jeff_Perkinson
Community Manager Community Manager

Re: I am splitting a table and looking to name it something different.

The argument for naming the table is Output Table().

 

dt=open("$SAMPLE_DATA\Big Class.jmp");

dt << Split(
	Split By( :sex ),
	Split( :height ),
	Group( :name ),
	Output Table( "my split table" ),
	Remaining Columns( Drop All ),
	Sort by Column Property
);

There are three ways to learn this.

 

1. Perform the Split interactively, using the option in the Split dialog to name the output table and then examine the Source script in the resulting table.

2022-09-30_16-42-32.637.png

 

2. If you have JMP 16 or greater the Enhanced Log window will show you the script.

2022-09-30_16-46-49.183.png

3. The Help->Scripting Index entry for Split shows the syntax.

2022-09-30_16-49-21.526.png

-Jeff
Hobbi
Level II

Re: I am splitting a table and looking to name it something different.

Thank you very much for the explanations! Very insightful. I tried understanding via the Scripting Index but must've gotten lost in the sauce. I do have JMP 16 and did not know of the Enhanced Log you mentioned.