Scripting Guide > Extending JMP > Work with SAS > SAS Variable Names
发布日期: 08/07/2020

SAS Variable Names

SAS Open For Var Names() opens a SAS data set only to obtain the names of its variables, returning those names as a list of strings.

The rules for SAS variable names are more strict than those of JMP. The SAS Name function converts JMP variable names to SAS variable names, changing special characters and blanks to underscores, and various other transformations to produce a valid SAS name.

result = SAS Name(name);
result = SAS Name({list of names});

If the argument is a list of names, the result is a blank-separated character string of names. For example,

SAS Name({“x 1”, “x 2”})

produces

“ x_1 x_2”
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).