Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

206 total results found

httpパッケージ > setResponseBodyCharacterSetメソッド

SAS DS2

UTF-8を指定したいときは、 http_pkg.setResponseBodyCharacterSet('UTF-8')とする。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n057ts3z5uqaemn1vtd7vayor79q.htm

httpパッケージ > addSASOAuthTokenメソッド

SAS DS2

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/p0wc0obw28cy6wn1q8kvblfjf6vc.htm

proc ds2ステートメント

SAS Tips Base言語

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/proc/n0ox2hnyx7twb2n13200g5hqqsmy.htm

dataステートメント

SAS DS2

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n1ew9uzutoyamjn1kzz8f194xhes.htm

入力された文字列を区切り、n番目の単語を取得する

SAS DS2関数(文字列)

SCAN関数 str = scan(input_str, n, delimiter); https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/p13adatt2vvhcxn1ext6w6eet24p.htm

E8601DZw.d 入力形式

SAS Tips Base言語

yyyy-mm-ddThh:mm:ss+|–hh:mm.<fffff> または yyyy-mm-ddThh:mm:ss.<fffff>Z 形式の日時値を入力する。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/leforinforref/p14nbxgmr6gn7tn1ntmuulgawrih.htm 関連: E8601DZw. 出力形式 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/lefori...

YYMMDDxw. 出力形式

SAS DS2

yyyy-mm-ddやyyyy/mm/ddといった形式でSAS日付値を出力する。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n02pxkowzaiavfn1lwe6v95ps5pg.htm

selectステートメント

SAS DS2

CASE文を記述する。 https://go.documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n01kskkbawu6isn1vee8uw50jzvu.htm 基本の書き方 select(variable); when(1) 処理1; when(2) 処理2; end; 個別の処理行が1行に収まらないときは、do; 〜 end;で括る。 select(variable); when(1); do; 処理1; end; when(2); do; 処理2...

BESTw. 出力形式

SAS DS2

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/p06s6plgjq7rugn1fdf0sckkz0hx.htm

式の演算子

SAS DS2

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2pg/p0vinswrxk1819n1qizkibfin0cy.htm 算術演算子 演算子 機能 + 加算 - 減算 * 乗算 / 除算 ** 累乗 >< 左辺右辺の最小値を取得 <> 左辺右辺の最大値を取得 関係演算子 関係を満たすとき(True)は1、そうでないとき(False)は0を返す。 (データグリッド関数等で指定する際は、単一引用符'で括る) ...

SAS Studioでproc ds2内のログを出力

SAS Tips

dcl package logger logr( 'App.TableServices.d2pkg.HTTP' ); logr.log( 3, '--- Beginning of response headers ---' ); 例: HTTPからJSONテキストを読み取り、SASデータセットを作成する https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n02kfrlpntte7qn1fpoe7krc5pdu.htm ロガーパッケージの...

DS2言語の予約語

SAS DS2

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2pg/p1rnsddd78roken1tlwnfk4poavl.htm

do untilステートメント

SAS DS2

条件が真になるまで、処理をループする。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/p0p2sapr15j0z4n14o4b0v1i2xb7.htm#n0y0tj44j79ow1n15beup6finonl proc ds2; data _null_; method run(); k = 1; do until(k > 6); k = k + 1; end; end;...

do untilステートメント

SAS Tips Base言語

条件が真になるまで、処理をループする。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/lestmtsref/p1021qt3a3n8m2n1vh11ggzhu57n.htm

tzoneu2s関数

SAS Tips Base言語

UTC日時値をSAS日時値へ変換する。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/lefunctionsref/n1ien0skr1u9swn1f00w7hizdg9c.htm data work.test; input create_dt_utc $30.; datalines; 2025-11-27T05:07:21.474Z ; run; data work.test_plus9h; attrib create_dt format=NL...

DATETIMEw.d 出力形式

SAS Tips Base言語

ddmmmyy:hh:mm:ss.ss 形式でSAS日時値を出力する。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/leforinforref/n0av4h8lmnktm4n1i33et4wyz5yy.htm

NLDATMw. 出力形式

SAS Tips Base言語

現在のSASロケールに適した形式(ja環境では yyyy/mm/dd hh:mm:ss)で、形式でSAS日時値を出力する。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/leforinforref/n0sf71zwqc9ioln1er0qqrlmku7r.htm

where= データセットオプション

SAS Tips Base言語

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ledsoptsref/p0ny9o8t8hc5zen1qn3ft9dhtsxx.htm

日付値の取り扱い

SAS Tips

proc ds2; data _null_; method run(); dcl varchar(50) timestamp_str; dcl double sas_dt_value; dcl varchar(50) sas_dt_value_NLDATM; dcl varchar(50) sas_dt_value_yymmddn8; dcl varchar(50) sas_dt_value_yymmdds10; timestam...

if-then/elseステートメント

SAS DS2

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/p1swn0a4ufdvn3n1e67d75roy6ns.htm