How to get pointer to existing Jrn fileHi -
How can I open an existing journal file which is closed in a new Jmp instance and append a new journal to it.
I wrote following JSL code but it is not working as expected
nw_existing = Open( "C:\Existing.jrn" );
nw = New Window( "Final", container = V List Box() );
nw << append( nw_existing );
I am unable to find a way to get reference to existing journal. Appreciate any pointers.
Thanks!
WindowsRe: How to get pointer to existing Jrn fileHi,
I tried to replicate your problem in JMP 14.1 on Windows but I cannot reproduce the issue. Indeed, upon running your short script, I end up with a JMP window entitled "Final" that contains all the elements of the Existing.jrn journal, as expected. However, it sounds like you would like to append some outputs to the Existing.jrn journal in which case, you just need to call the [analysis report xxx] << Journal command after the Open statement.
If I'm still off, could you describe in more details how your script is not yielding the expected result?
Best,
TS
Re: How to get pointer to existing Jrn fileHi Thierry -
I am using Jmp 12.2.0 on Windows. Wondering if there is a difference due to Jmp version.
I get empty "Final" journal with previous code.
Including modified code below. Expecting two plots in "Final". Only get one
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
j1 = New Window( "Journal_1",
<<JOURNAL></JOURNAL>
I could not figure out how to incorporate your suggestion about analysis report xxx << journal. Appreciate if you could show the usage in this code. Thank you.
Re: How to get pointer to existing Jrn fileHi,
One thing that comes immediately to mind is that your call to nw = New Window ("Final") should include a contained such as a V LIST BOX ().
And sorry, it looks like I inadvertently clicked on the Select as Solution which was not my intent.
Best,
TS
Re: How to get pointer to existing Jrn fileNot sure why the question above is marked as solution now. Is there any way to remove the 'solution' tag?
Re: How to get pointer to existing Jrn fileLet me look into it. Sorry for the confusion