Page 1 of 1

What are the source these variables

PostPosted: Tue Jun 23, 2009 7:56 am
by atodpquery
SYSVAR and SYSPREF, Where do these variables get the information from?

Thanks :?:

Re: What are the source these variables

PostPosted: Tue Jul 07, 2009 9:16 am
by nayanpatra
Hi,

SYSVAR returns information about MVS, TSO/E and the current session, such as levels of software available, your logon procedure, and your user ID.

SYSVAR("arg_name")

The information returned depends on the arg_name value specified on the function call.

SYSPREF is an arg_name. SYSVAR("SYSPREF") returns the prefix as defined in the user profile. The prefix is usually the user's user-id. However, TSO/E PROFILE command can be used to change the prefix.