|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/7/2009 9:55:58 AM
Posts: 2,
Visits: 13
|
|
Hi,
I am using the following .accept command in MLOAD to accept a system variable.
.LOGTABLE ****_WORK.LT_*****MLOAD ;
.RUN FILE LOGON;
.SET SRC TO '&SYSDAY';
.ACCEPT TESTC FROM ENVIRONMENT VARIABLE SYSDAY;
But the mload is failing with
"UTY4827 The requested environment variable SYSDAY is not set."
Please help me out..
Yuvaraj manohar.
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 11/9/2009 3:27:04 PM
Posts: 38,
Visits: 46
|
|
SYSDAY is not a valid environment variable in your environment.
The message is correct.
Do not confuse "environment variable" with "pre-defined MultiLoad system variable".
They are different things.
For example, in your environment, if the "TZ" environment variable was set to something like "US/Pacific"
and you tried this:
.ACCEPT MY_TZ FROM ENVIRONMENT VARIABLE TZ;
then "MY_TZ" would be assigned the string "US/Pacific".
|
|
|
|