---
title: Proc reportとProc odstableでの帳票作成の比較
tags:  #[第2回大阪sas勉強会]  
author: [森岡裕[SASユーザー総会世話人]](https://www.docswell.com/user/6484025)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/3JKDQZLM7D.jpg?width=480
description: [第2回大阪sas勉強会] 山野辺浩己
published: March 29, 24
canonical: https://www.docswell.com/s/6484025/KDERDG-2024-03-29-073232
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/3JKDQZLM7D.jpg)

Proc reportとProc odstable
での帳票作成の比較


# Page. 2

![Page Image](https://bcdn.docswell.com/page/LE3RPD3275.jpg)



# Page. 3

![Page Image](https://bcdn.docswell.com/page/8EDYLP46EG.jpg)

括弧の入れ子構造
複雑なComp文


# Page. 4

![Page Image](https://bcdn.docswell.com/page/V7P62NVZJ8.jpg)

罫線処理を条件文に出来る
多段構造をstart-endで個別に
設定できる
Columnの設定。
Headerとは完全に分けて記述


# Page. 5

![Page Image](https://bcdn.docswell.com/page/2JV3DKZMEQ.jpg)

• 詳細な説明


# Page. 6

![Page Image](https://bcdn.docswell.com/page/5EG3YQ4X7L.jpg)

・Headerの多層構造は、define headerの[start][end]によって行う
define header header2_3;
define header header2;
define header header3;
start=out2; end=out3; vjust=top;
text &quot;国/モデル&quot;; end;
out2-out3で”1段作る”
start=out2; end=out2; vjust=top; just=left; text &quot;国&quot;;
end;
start=out3; end=out3; vjust=top;
text &quot;モデル&quot;; end;
out2、out3のそれぞれ
のヘッダーの定義


# Page. 7

![Page Image](https://bcdn.docswell.com/page/4JQ5MKG57P.jpg)

1列に、変数を縦に表示できる


# Page. 8

![Page Image](https://bcdn.docswell.com/page/K749VP5VE1.jpg)

データセットにない変数を自由に作成できるため、空白行を作成した上で、隙間を表現


