cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
shiguelita
Level I

How Can I use script to create a new table with Concatenate?

Hey guys,

I'm beginner in JMP's scritp and I want to know how I can use script to create a new table using Concatenate.

My script is:

dt =  Open( "C:\EKS\ETAMS\concat1.jmp");

dt << Set Name ("conc1");

dt =  Open( "C:\EKS\ETAMS\concat2.jmp");

dt << Set Name ("conc2");

dt << Concatenate("conc1", Output Table( "Combined" ));

But it's just opening the Concatenate window, it doesn't create a new table. What Am I doing wrong?

Please, help me! =(

Regards

Talita Shiguemoto

1 ACCEPTED SOLUTION

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

Re: How Can I use script to create a new table with Concatenate?

You're almost there! Assign the two tables to two different variables. There is no need to rename the tables.

dt1 = Open("C:\EKS\ETAMS\concat1.jmp");

dt2 = Open("C:\EKS\ETAMS\concat2.jmp");

dt2 << Concatenate(dt1, Output Table("Combined"));

View solution in original post

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

Re: How Can I use script to create a new table with Concatenate?

You're almost there! Assign the two tables to two different variables. There is no need to rename the tables.

dt1 = Open("C:\EKS\ETAMS\concat1.jmp");

dt2 = Open("C:\EKS\ETAMS\concat2.jmp");

dt2 << Concatenate(dt1, Output Table("Combined"));

shiguelita
Level I

Re: How Can I use script to create a new table with Concatenate?

Hey MS, thank you very much. It worked! *_*

Recommended Articles