Re: JSL을 사용하여 이 텍스트 방식으로 각 다운로드 결과를 다른 변수에 저장하려면 어떻게 해야 합니까? 안녕하세요!이것을 테스트할 서버가 없지만 이와 같은 것이 작동할까요?
/*JMP STATISTICAL DISCOVERY LLC (“JMP”) PERMITS THE USE OF THIS COMPUTER SOFTWARE CODE (“CODE”) ON AN AS-IS BASIS AND AUTHORIZES YOU TO USE THE CODE SUBJECT TO THE TERMS LISTED HEREIN. BY USING THE CODE, YOU AGREE TO THESE TERMS. YOUR USE OF THE CODE IS AT YOUR OWN RISK. JMP MAKES NO REPRESENTATION OR WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRIGEMENT, AND TITLE, WITH RESPECT TO THE CODE.
You may use the Code solely as part of a software product you currently have licensed from JMP, JMP’s parent company SAS Institute Inc. (“SAS”), or one of JMP’s or SAS’s subsidiaries or authorized agents (the “Software”), and not for any other purpose. The Code is designed to add functionality to the Software but has not necessarily been tested. Accordingly, JMP makes no representation or warranty that the Code will operate error-free. JMP is under no obligation to maintain, support, or continue to distribute the Code.
Neither JMP nor its licensors shall be liable to you or any third-party for any general, special, direct, indirect, consequential, incidental, or other damages whatsoever arising out of or related to your use or inability to use the Code, even if JMP has been advised of the possibility of such damages. Except as otherwise provided above, the Code is governed by the same agreement that governs the Software. If you do not have an existing agreement with JMP or SAS governing the Software, you may not use the Code.
JMP and all other JMP Statistical Discovery LLC product or service names are registered trademarks or trademarks of JMP Statistical Discovery LLC in the USA and other countries. ® indicates USA registration. Other brand and product names are registered trademarks or trademarks of their respective companies.
*/
lstResults = {};
for each ({i}, 1::60,
u = ""||char(i); //add number to end of URL
rs = New HTTP Request (URL(u), Method("GET")) << send; //store results in rs
insert into (lstResults, Parse JSON(rs)) //add parsed rs to main list
);Re: JSL을 사용하여 이 텍스트 방식으로 각 다운로드 결과를 다른 변수에 저장하려면 어떻게 해야 합니까? 안녕하세요!JMP 17의 동시 다운로드에 이 방법을 사용하고 싶었습니다. JSL을 수정하는 방법. 감사해요!
For( i = 1, i <= 60, i++,
u = {};
For( j = 1, j <= N Row( d9 ), j++,
gm = d9[j, "code"];
Insert Into( u, "http://xxx……code=" || gm );
);
rqs = New Multi HTTP Request();
For( i = 1, i <= N Items( u ), i++,
rq = New HTTP Request( Method( "GET" ), URL( u[i] ) );
Eval( Parse( "txt" || Char( i ) || "=" || rs << Send ) );//??
//rqs << Add( rq );
);
hh = rqs << Get Requests();
da = rqs << Download( "show progress", "detailed" );
……
);Re: JSL을 사용하여 이 텍스트 방식으로 각 다운로드 결과를 다른 변수에 저장하려면 어떻게 해야 합니까? 안녕하세요!글 수정이 안되나요?
코드가 잘못되었습니다.
해야한다
u = {};
For( j = 1, j <= N Row( d9 ), j++,
gm = d9[j, "code"];
Insert Into( u, "http://xxx……code=" || gm );
);
rqs = New Multi HTTP Request();
For( i = 1, i <= N Items( u ), i++,
rq = New HTTP Request( Method( "GET" ), URL( u[i] ) );
Eval( Parse( "txt" || Char( i ) || "=" || rs << Send ) );//??
//rqs << Add( rq );
);
hh = rqs << Get Requests();
da = rqs << Download( "show progress", "detailed" );</CODE></PRE></LINGO-BODY><LINGO-SUB id="lingo-sub-633131" slang="en-US" mode="NONE">Re: JSL을 사용하여 이 텍스트 방식으로 각 다운로드 결과를 다른 변수에 저장하려면 어떻게 해야 합니까? 안녕하세요!</LINGO-SUB><LINGO-BODY id="lingo-body-633131" slang="en-US" mode="NONE"><P>안녕<A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/17251" target="_blank"> @라라</A> ,</P>
<P> </P>
<P>제목 왼쪽에 있는 삼각형을 클릭하여 원래 주제를 편집할 수 있습니다.</P>
<P> </P>
<P>날짜 오른쪽에 있는 삼각형을 클릭하여 회신을 편집할 수 있습니다.</P>
<P> </P>
<P>도움이 되길 바랍니다.</P>
<P> </P>
<P>라이언</P></LINGO-BODY><LINGO-SUB id="lingo-sub-633630" slang="en-US" mode="NONE">Re: JSL을 사용하여 이 텍스트 방식으로 각 다운로드 결과를 다른 변수에 저장하려면 어떻게 해야 합니까? 안녕하세요!</LINGO-SUB><LINGO-BODY id="lingo-body-633630" slang="en-US" mode="NONE"><P class=""> </P><P class=""><SPAN class="">감사해요!</SPAN></P><P class=""> </P></LINGO-BODY><LINGO-SUB id="lingo-sub-632720" slang="en-US" mode="NONE">이 텍스트 방식으로 각 다운로드 결과를 다른 변수에 저장하기 위해 JSL을 어떻게 사용할 수 있습니까? 안녕하세요!</LINGO-SUB><LINGO-BODY id="lingo-body-632720" slang="en-US" mode="NONE"><P>안녕하세요!<BR /> 이 URL을 설정하면 순환 방식으로 일련 번호를 늘릴 수 있고 다른 데이터를 다운로드할 수 있습니다. 다른 변수의 자동 생성을 실현하여 각각의 다른 다운로드 결과를 저장하려면 어떻게 해야 합니까?<BR /> 감사해요!</P><PRE><CODE class=" language-jsl">For( i = 1, i <= 60, i++,
u = "" || Char( i );
rs = New HTTP Request( Url( u ), Method( "GET" ) );
Eval( Parse( "txt" || Char( i ) || "=" || rs << Send ) );//??
Show( txt1 );
//txt1 = rs << Send;
);
결과 공유 및 소통윈도우