DOCUMENTATION
  • Software
    • Software
    • SAS Viya
    • Industries
    • Solutions
    • Products
  • Learn
    • Learn
    • Training
    • Certification
    • Academics
    • Books
    • Video Tutorials
  • Support
    • Support
    • Communities
    • Documentation
    • Developers
    • Support & Services
    • User Groups
  • About Us
    • About Us
    • Why SAS?
    • Company
    • Careers
    • Newsroom
    • Events
    • Contact Us
  • Explore
    • Explore
    • Try & Buy
    • Why SAS?
    • Customer Stories
    • Partners
    • Consulting
  • Software
  • SAS Viya
  • Industries
  • Solutions
  • Products
  • Learn
  • Training
  • Certification
  • Academics
  • Books
  • Video Tutorials
  • Support
  • Communities
  • Documentation
  • Developers
  • Support & Services
  • User Groups
  • About Us
  • Why SAS?
  • Company
  • Careers
  • Newsroom
  • Events
  • Contact Us
  • Explore
  • Try & Buy
  • Why SAS?
  • Customer Stories
  • Partners
  • Consulting
  • Contact Us
Sign In

Create Profile

My SAS

Get access to My SAS, trials, communities and more.

SAS Sites

sas.com
Support
Blogs
Communities
Developer
Curiosity
Videos

Documentation

Learn
Brand
PartnerNet
Merchandise
SAS® Help Center
SAS® Viya® Platform Programming Documentation
2026.10
|PDF 
フィードバック
 
  • Welcome to SAS Programming Documentation
  • What's New
  • Learning SAS Viya Platform Programming
  • Syntax Quick Links
  • Python Programming
  • Advanced Analytics
  • Data Access
  • Cloud Analytic Services
  • SAS Language Reference
    • SASプログラマガイド: エッセンシャル
    • Base SAS Procedures
    • DATA Step Programming
    • グローバルステートメント
    • システムオプション
    • マクロ言語リファレンス
    • FedSQL Programming
    • DS2 Programming
    • SASコンポーネントオブジェクト
    • 式言語
  • Migrating to UTF-8
  • Example Data Sets
  • SAS Code Debugging
  • Output and Graphics
  • In-Database Processing
  • Security and Administration
  • SAS Servers
  • Using the batch Plug-In for the SAS Viya CLI
  • Accessibility on the SAS Viya Platform
  • SAS Data Quality
  • SAS Job Execution Web Application Doc Link
  • SAS Job Execution Web Application
  • SAS Data and AI Studio
  • SAS Visual Analytics
  • SAS Viya Platform: Administration
  • SAS Viya Platform Operations
  • Other Resources
マクロ言語リファレンス
 

SAS ®マクロ言語: リファレンス

SAS言語の構文規則
マクロ機能の説明と使い方
マクロ機能について
SASプログラムとマクロ処理
マクロ変数
マクロ処理
マクロ変数のスコープ
マクロ式
マクロクォーティング
マクロ機能とのインターフェイス
マクロの保存および再利用
マクロ機能のエラーメッセージとデバッグ
効率的なマクロとポータブルマクロの作成
マクロ言語要素
マクロ言語リファレンス
自動呼び出しマクロ
自動マクロ変数
マクロのDATAステップCALLルーチン
マクロのDATAステップ関数
マクロ関数
マクロのSQL句
マクロステートメント
マクロのシステムオプション
付録
マクロ機能の予約語
SASマクロ機能エラーと警告メッセージ
SASトークン
%SYSFUNC関数と%QSYSFUNC関数で使用する関数の構文
SASマクロの例
最終更新: 2026年4月14日
プライバシーについて 使用条件 
Copyright © SAS Institute Inc. All Rights Reserved