Skip to main content

Recently Updated Pages

行を追加する

SAS データグリッド関数

DATAGRID_ADDROW関数 DATAGRID_ADDROW(データグリッド変数, <任意>追加する行数) 下記のように記述すると「追加した行は今何行目にあるか」を取得することができる。...

Updated 1 month ago by nonoha

部分文字列を置換する

SAS DS2関数(文字列の加工)

TRANWRD関数 str = tranwrd(inputstr, beforesubstr, after_substr); ... https://documentation.sas.com...

Updated 1 month ago by nonoha

文字列中の指定文字列の位置を取得する

SAS DS2関数(文字列)

FIND関数 pos = find(string, substring); pos = find(string, substring, startpos); ... https://docum...

Updated 1 month ago by nonoha

文字列を切り出す

SAS DS2関数(文字列の加工)

SUBSTR関数 trimmed_str = substr(str, start_pos, length); ... https://documentation.sas.com/doc/ja/...

Updated 1 month ago by nonoha

文字列を結合する

SAS DS2関数(文字列の加工)

CAT関数(先頭・末尾の空白を削除しない) 先頭または末尾の空白を削除せずに、連結文字列を返す。 text = cat('aaa', 'bbb', 'ccc'); https://docume...

Updated 1 month ago by nonoha

文字列の長さを取得する

SAS DS2関数(文字列)

LENGTH関数 val = length(str); ... https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n1lb...

Updated 1 month ago by nonoha

すべての文字を小文字にする

SAS DS2関数(文字列の加工)

LOWCASE関数 str = lowcase('INTRODUCTION'); ... https://documentation.sas.com/doc/ja/pgmsascdc/v_06...

Updated 1 month ago by nonoha

「月, 日, 年」をそれぞれ引数で受け取り、SAS日付値に変換する

SAS DS2関数(日付と時間)

MDY関数 date_val = mdy(mm, dd, yy); https://documentation.sas.com/doc/ja/pgmsascdc/v_061/ds2ref/n1...

Updated 1 month ago by nonoha

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

SAS DS2関数(文字列)

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

Updated 1 month ago by nonoha

文字列をURLエンコードする

SAS DS2関数(文字列の加工)

URLENCODE関数 text = urlencode(input_text); https://documentation.sas.com/doc/ja/pgmsascdc/v_061/d...

Updated 1 month ago by nonoha

CASテーブルをセッションスコープからグローバルスコープへ昇格する

SAS CAS

table.promoteアクション proc cas; session casauto; table.promote / sourceCaslib = "mylib" /* ...

Updated 1 month ago by nonoha

DS2コードでCASにテーブルを読み込む

SAS CAS

table.loadTableアクション proc cas; session casauto; table.loadTable / sourceCaslib = "mylib"...

Updated 1 month ago by nonoha

新規ページ

SAS Tips

データグリッド内の値を取得する DATAGRID_GET関数 DATAGRID_GET(データグリッド変数, '取得対象の列名', 取得対象の行番号) https://go.documenta...

Updated 1 month ago by nonoha

DATAGRID_ADDROW関数

SAS Tips データグリッド関数

https://go.documentation.sas.com/doc/jp/edmcdc/v_056/edmdatagrids/n109izonc0diazn0z2gy6wqehync.htm

Updated 1 month ago by nonoha

DATAGRID_GET関数

SAS Tips データグリッド関数

https://go.documentation.sas.com/doc/jp/edmcdc/v_056/edmdatagrids/n04ham6nlknk8ln17nuk76nue4vw.htm

Updated 1 month ago by nonoha

DATAGRID_DUMPTOLOG関数

SAS Tips データグリッド関数

https://go.documentation.sas.com/doc/jp/edmcdc/v_056/edmdatagrids/p1da42svmyhzygn1r1f2uq10ntsh.htm

Updated 1 month ago by nonoha

IFN 関数

SAS Tips CAS

https://documentation.sas.com/doc/ja/pgmsascdc/v_061/proccas/n1v6aoomm10yxnn1mf4407trgk90.htm ht...

Updated 1 month ago by nonoha

日付値の取り扱い

SAS Tips

proc ds2; data _null_; method run(); dcl varchar(50) timestamp_str; dcl double ...

Updated 1 month ago by nonoha

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

SAS Tips Base言語

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

Updated 1 month ago by nonoha

tzoneu2s関数

SAS Tips Base言語

UTC日時値をSAS日時値へ変換する。 https://documentation.sas.com/doc/ja/pgmsascdc/v_061/lefunctionsref/n1ien0skr...

Updated 1 month ago by nonoha