Hi,
I'm not sure what might be overwriting that preference, but it can't hurt to micromanage things a bit by including the following line in each of these scripts:
set preference(SAS Integration Settings( Data Import Uses Labels( 1 ) ));
Ironically, this can also be considered an example of what NOT to do; this is how preferences can be overwritten, which may be your issue. Perhaps there is a script running periodically, which changes this preference to (0).
As a best practice, when you need a preference to be set (or cleared), and don't want to impact other scripts that may run later, you can do the following:
1) Get the preferences currently in force using the Get Preferences () function, storing the result in a variable.
2) Set the preferences you need
3) Run the code you need to run
4) Set the preferences back to the original settings using the Set Preferences () and the variable you assigned in step 1 above.
Cheers,
Brady