Is this what you are talking about?
If so, this is how to do it
Names Default To Here( 1 );
dt01 = Open( "$SAMPLE_DATA/Big Class.jmp" );
bivariate( x( :height ), y( :weight ) );
// Once the report is generated, this JSL will change the title
// to the path
thePath = dt01 << get path;
Current Report()[Outline Box( 1 )] << set title( thePath );
Jim