cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

HI, 

Im new to JMP and do have a script was coded in JMP 16 but having error on JMP15 on this line during recode.

is this expected? can this be comment out when running on JMP15?

 

Update Properties( 1 ),

 

 

Thanks alot.

 

1 ACCEPTED SOLUTION

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

// sample data

dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
col = New Column( :Gender );

// get JMP version as a number

jmpVersionNumber = num(words(JMPVersion(),".")[1]);

// don't use  'update properties' before v16

if (jmpVersionNumber>=16,

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Update Properties( 1 ),
		Target Column( col )
	)
	
, // else

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Target Column( col )
	)
	
);
-Dave

View solution in original post

2 REPLIES 2
David_Burnham
Super User (Alumni)

Re: Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

// sample data

dt = Open( "$SAMPLE_DATA/Consumer Preferences.jmp" );
col = New Column( :Gender );

// get JMP version as a number

jmpVersionNumber = num(words(JMPVersion(),".")[1]);

// don't use  'update properties' before v16

if (jmpVersionNumber>=16,

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Update Properties( 1 ),
		Target Column( col )
	)
	
, // else

	dt << Recode Column(
		:Gender,
		{if(
			_rcNow == 1, 0,
			1,
		)},
		Target Column( col )
	)
	
);
-Dave
TheWho80
Level I

Re: Error on "Update Properties ( 1 )" using JMP 15 - script is coded in JMP16

Thanks Dave, looks like "Update Properties" is not a requirement in older JMP version

Recommended Articles