Voglio chiamare una tabella che sto usando nello script JSL corrente in un altro script, c'è un modo in cui posso farlo? Ho allegato un frammento di codice, voglio usare dt1_Name (o dt) in un altro script jsl che ho collegato a questo script:
dt1_Name= Pick File(
"Select the JMP MasterFile",
"",
{"JMP Files|jmp;jsl;jrn", "All Files|*"},
1,
0,
""
);
Show( dt1_Name );
dt = Open( dt1_Name );
Show( dt );
bwidth = 150;
dt << bring window to front;
box_win = New Window( "Select Columns",
H List Box(
Panel Box( "Select Columns", ColListData = Col List Box( dt, All, Grouped,width( bwidth ), nLines( 5 ) ) ),
V List Box(
Panel Box( "Case Selected Columns Into Roles",
Lineup Box( N Col( 2 ), Spacing( 3 ),
Button Box( "START DATE", colLista << Append( ColListData << Get Selected ) ),
ColLista = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 ) ),
Button Box( "END DATE", colListb << Append( ColListData << Get Selected ) ),
ColListb = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 ) ),
Button Box( "PAY DATE", colListc << Append( ColListData << Get Selected ) ),
ColListc = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 )),
Button Box( "STATUS", colListd << Append( ColListData << Get Selected ) ),
ColListd = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 ) ),
Button Box( "Remove",
ColLista << RemoveSelected;
ColListb << RemoveSelected;
ColListc << RemoveSelected;
),
Spacer Box()
)
),
Lineup Box( N Col( 3 ), Spacing( 0, 3 ),
Spacer Box( <<SET auto="" stretching=""></SET>