Online File

How to use this page


Rick Aster: Professional SAS Programming Secrets: Contents

Chapter 16
Program 16d
Localized text items


*
  Professional SAS Programming Secrets
  Program 16d
  Localized text items
*;

%* Select locale and language *;
%LET LOCALE = %SYSFUNC(getpxlocale());
%LET LANGUAGE = %SYSFUNC(getpxlanguage());
*
  Localize all text items. Create lookup table and macro variables.
*;
data work.localtextitem (keep=item text index=(item));
   merge app.textitem (where=(loc is missing))
       app.textitem (where=(loc = "&LANGUAGE."))
       app.textitem (where=(loc = "&LOCALE."));
   by item;
   call symputx('LABEL_' || item, text);   
run;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Secrets

Contents/Online Files

Corrections