cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Changing value label in the entire data set

Hi,

 

i have the following problem at hand:

 

My variables have value labels in English and I need to replace them with a language overlay of another language. I have English and other languages in a structured format. 

is there any way to export the value labels and import the new ones? With variable names, I just copy paste, which works fine.

 

With value labels I haven't found a solution yet.

 

Thanks

Sebastian

1 REPLY 1
txnelson
Super User

Re: Changing value label in the entire data set

Here is the syntax required to change the value labels for a column

names default to here(1);
dt=open("$SAMPLE_DATA/Big Class.jmp");

// English
EnglishList = {"F" = "Female", "M" = "Male"};
dt:sex<<set property(value labels( EnglishList ) );
/*
// German
GermanList = {"F" = "Weiblich", "M" = "Männlich"};
dt:sex<<set property(value labels( GermanList ) );
*/

 

Jim

Recommended Articles