JMP 차트 생성을 자동화하려고합니다. 나는 응용 프로그램을 만들고 있어요. 스크립트가 실행되면 쿼리 및 보고서의 출력이 표시됩니다. 그런 다음 보고서를 HTML 문서로 저장합니다. 전체 스크립트에는 4 개의 서로 다른 쿼리와 보고서가 있습니다. 아무것도 표시하지 않는 곳에 스크립트를 실행하는 방법이 있습니까? 응용 프로그램에서 보고서가 실행 중임을 나타내는 팝업을 표시하도록 계획하지만 실제 아티팩트가 표시되는 것을 원하지는 않습니다. 첨부 된 샘플 스크립트입니다.
planetQ <SPAN class="token operator">=</SPAN> <SPAN class="token function">New SQL Query</SPAN><SPAN class="token punctuation">(</SPAN>
Connection<SPAN class="token punctuation">(</SPAN>
<SPAN class="token string">"CONNECTION INFO HERE"</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
QueryName<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"ON_TIME_SPC_PLANET"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Select<SPAN class="token punctuation">(</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"ReleaseMonth"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"t1"</SPAN><SPAN class="token punctuation">,</SPAN> Numeric <SPAN class="token function">Format</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"m/d/y"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"-1"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"NO"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">""</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"PLANET"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"t1"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN>
<SPAN class="token string">"On-Time"</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token string">"t1"</SPAN><SPAN class="token punctuation">,</SPAN>
Alias<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-On-Time"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
SavedJMPName<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"On-Time"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Aggregation<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
JMP Name<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-On-Time"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token number">0</SPAN> <SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN>
<SPAN class="token string">"Total"</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token string">"t1"</SPAN><SPAN class="token punctuation">,</SPAN>
Alias<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-Total"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
SavedJMPName<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Total"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Aggregation<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
JMP Name<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-Total"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token number">0</SPAN> <SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Phase"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"t1"</SPAN><SPAN class="token punctuation">,</SPAN> Analysis <SPAN class="token function">Type</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Nominal"</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
From<SPAN class="token punctuation">(</SPAN> Table<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"ON_TIME_SPC"</SPAN><SPAN class="token punctuation">,</SPAN> Schema<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"dbo"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> Alias<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"t1"</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Group By<SPAN class="token punctuation">(</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"ReleaseMonth"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"t1"</SPAN><SPAN class="token punctuation">,</SPAN> Numeric <SPAN class="token function">Format</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"m/d/y"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"-1"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"NO"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">""</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"PLANET"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"t1"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Phase"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"t1"</SPAN> <SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Order By<SPAN class="token punctuation">(</SPAN>
<SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN>
<SPAN class="token string">"ReleaseMonth"</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token string">"t1"</SPAN><SPAN class="token punctuation">,</SPAN>
Numeric <SPAN class="token function">Format</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"m/d/y"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"-1"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">"NO"</SPAN><SPAN class="token punctuation">,</SPAN> <SPAN class="token string">""</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Order<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Ascending"</SPAN> <SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN> <SPAN class="token operator"><</SPAN><SPAN class="token operator"><</SPAN><SPAN class="token messages"> Run Foreground</SPAN><SPAN class="token punctuation">(</SPAN><SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">;</SPAN>
planetQ <SPAN class="token operator"><</SPAN><SPAN class="token operator"><</SPAN><SPAN class="token messages"> New Column</SPAN><SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"OnTimePct"</SPAN><SPAN class="token punctuation">,</SPAN>
Formula<SPAN class="token punctuation">(</SPAN> <SPAN class="token punctuation">:</SPAN>Name<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-On-Time"</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token operator">/</SPAN> <SPAN class="token punctuation">:</SPAN>Name<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-Total"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">;</SPAN>
<SPAN class="token function">wait</SPAN><SPAN class="token punctuation">(</SPAN><SPAN class="token number">1.0</SPAN><SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">;</SPAN>
<SPAN class="token function">current data table</SPAN><SPAN class="token punctuation">(</SPAN>planetQ<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">;</SPAN>
planetP <SPAN class="token operator">=</SPAN> Control Chart<SPAN class="token punctuation">(</SPAN>
Sample Label<SPAN class="token punctuation">(</SPAN> <SPAN class="token punctuation">:</SPAN>ReleaseMonth <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Phase<SPAN class="token punctuation">(</SPAN> <SPAN class="token punctuation">:</SPAN>Phase <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Sample Size<SPAN class="token punctuation">(</SPAN> <SPAN class="token punctuation">:</SPAN>Name<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"Sum-Total"</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
KSigma<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">3</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Chart Col<SPAN class="token punctuation">(</SPAN> <SPAN class="token punctuation">:</SPAN>OnTimePct<SPAN class="token punctuation">,</SPAN> P<SPAN class="token punctuation">(</SPAN> Phase Level<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"1"</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN> Phase Level<SPAN class="token punctuation">(</SPAN> <SPAN class="token string">"2"</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
By<SPAN class="token punctuation">(</SPAN> <SPAN class="token punctuation">:</SPAN>PLANET <SPAN class="token punctuation">)</SPAN>
<SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">;</SPAN>
방향 : ltr; font-family : Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; 글꼴 크기 : 상속, 글꼴 스타일 : 보통, 글꼴 변형 : 보통, 글꼴 크기 : 300, 문자 간격 : 일반, 줄 높이 : 1.5, -ms- 하이픈 : 없음, 고아 : 2, 오버 플로우 랩 : 일반, 텍스트 맞춤 : 왼쪽, 텍스트 장식 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 그림자 : 0px 1px 흰색, 텍스트 변형 : 없음, -webkit-text-stroke- 폭 : 0px, = (보이지 않는 SPL class = "token punctuation"style -webkit-text-stroke-width : 0px; 공백 : 사전, 단어 분리 : 보통, 단어 간격 : 보통; ">
> 샘플 레이블 = "상자 크기 : 테두리 상자, 색상 : # 000000, font-family : Consolas, Monaco, & amp; andale 모노 & quot; 우분투 모노 & quot;, 모노 스페이스, 글꼴 크기 : 14px 폰트 스타일 : 보통, 글꼴 변형 : 보통, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2, 텍스트 정렬 : 왼쪽, 텍스트 장식 : 없음, 텍스트 들여 쓰기 : 0 픽셀, 텍스트 변환 : 새로 울게 없어 ebkit-text-stroke-width : 0px; white-space : pre; word-spacing : 0px; "> (SPAN 클래스 ="토큰 구두점 "style ="상자 크기 : 테두리 상자, 색상 : # 000000; font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; : Consolas, Monaco, 'Andale Mono', 'Ubuntu : ReleaseMonth ) ,
> 단계 (SPAN 클래스 ="토큰 구두점 "style ="상자 크기 : 테두리 상자, 색상 : # 000000; font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; : Consolas, Monaco, 'Andale Mono', 'Ubuntu : 단계 ) ,
샘플 크기 (SPAN 클래스 ="토큰 구두점 "style ="상자 크기 : 테두리 상자, 색상 : # 000000; font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; : Consolas, Monaco, 'Andale Mono', 'Ubuntu : 이름 (SPAN 클래스 ="토큰 문자열 "style ="상자 크기 : 테두리 상자, 색상 : # 800080, font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; "Sum-Total") ) , (SPAN 클래스 ="토큰 번호 "스타일 ="상자 크기 : 테두리 상자, 색상 : # 008080, font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 굵게, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; 3, SPAN class = "token punctuation"style = "상자 크기 : border-box, color : # 000000, font-family : Consolas, Monaco, & amp; andale mono & quot, & quot quot 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 보통, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2, 텍스트 정렬 : 왼쪽, 텍스트 텍스트의 들여 쓰기 : 0px; = "token punctuation"style = "상자 크기 : 테두리 상자; color : # 000000; font-family : Consolas, Monaco, & quot; and mono ","우분투 모노 ", 모노 스페이스 (monospace); 글꼴 크기 : 14px; 글꼴 스타일 : 일반; 글꼴 변형 : 보통; 글꼴 체중 : 300; letter-spacing : 보통; 고아 : 2; 텍스트 정렬 : 왼쪽; 텍스트 장식 : 없음; 텍스트 들여 쓰기 : 0px; 텍스트 변형 : 없음; -webkit-text-stroke-width : 0px; white-space : pre; 단어 간격 : 0px; ">,
도표 Col (SPAN 클래스 ="토큰 구두점 "style ="상자 크기 : 테두리 상자, 색상 : # 000000; font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; : Consolas, Monaco, 'Andale Mono', 'Ubuntu : OnTimePct , P ( (SPAN 클래스 ="토큰 문자열 "style ="상자 크기 : 테두리 상자, 색상 : # 800080, font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; "1") <텍스트> SPAN class = "token punctuation"style = "상자 크기 : border-box ; color : # 000000; font-family : Consolas, Monaco, & quot; and mono ","우분투 모노 ", 모노 스페이스 (monospace); 글꼴 크기 : 14px; 글꼴 스타일 : 일반; 글꼴 변형 : 보통; 글꼴 체중 : 300; letter-spacing : 보통; 고아 : 2; 텍스트 정렬 : 왼쪽; 텍스트 장식 : 없음; 텍스트 들여 쓰기 : 0px; 텍스트 변형 : 없음; -webkit-text-stroke-width : 0px; white-space : pre; 단어 간격 : 0px; ">, 단계 수준 (SPAN 클래스 ="토큰 문자열 "style ="상자 크기 : 테두리 상자, 색상 : # 800080, font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; "2") <텍스트> SPAN class = "token punctuation"style = "상자 크기 : border-bo 엑스; color : # 000000; font-family : Consolas, Monaco, & quot; and mono ","우분투 모노 ", 모노 스페이스 (monospace); 글꼴 크기 : 14px; 글꼴 스타일 : 일반; 글꼴 변형 : 보통; 글꼴 체중 : 300; letter-spacing : 보통; 고아 : 2; 텍스트 정렬 : 왼쪽; 텍스트 장식 : 없음; 텍스트 들여 쓰기 : 0px; 텍스트 변형 : 없음; -webkit-text-stroke-width : 0px; white-space : pre; 단어 간격 : 0px; ">) ) ,
(SPAN 클래스 ="토큰 구두점 "style ="상자 크기 : 테두리 상자, 색상 : # 000000; font-family : Consolas, Monaco, & amp; quotale 글꼴 크기 : 14px, 글꼴 스타일 : 정상, 글꼴 변형 : 정상, 글꼴 크기 : 300, 문자 간격 : 보통, 고아 : 2 텍스트 맞춤 : 없음, 텍스트 들여 쓰기 : 0px, 텍스트 변형 : 없음, -webkit-text-stroke-width : 0px, 공백 : 사전, 단어 간격 : 0px; : Consolas, Monaco, 'Andale Mono', 'Ubuntu : 이름 )
)