I'm afraid the documentation quoted below might be misleading.
If the DISPLAY variable is used like a mere placeholder then the import/export tool won't work since the underlying java session will look for an X11 session already running and pointing to some real adress/socket stored with the DISPLAY value.
It will work with the DISPLAY variable only if there is some X11 terminal set up and listening on that value, which amounts to some interactive session requirement : back to square 1 !
Unless you can't upgrade to 9.4TS1M3 then Xvfb or anything like it will be needed. Please, don't hesitate to confirm with SAS Technical Support. I might be wrong.
FYI, I've tested these tools in batch modes with SAS 9.2/9.3 on RHEL 5/6 with and without Xvfb.
@LaurieF wrote:
Yes, thank you, I saw that. But it doesn't answer my question; nor am I in a position to install more software on this machine.
The documentation for Intelligence Platform batch tools implies that there is a setting for DISPLAY which will do what -disableX11 does in the third maintenance release. If I could work out why it works when I submit the ImportPackage command manually, but not when it's submitted by cron, then I might be closer to a solution.
Set the DISPLAY Variable (UNIX Only)
If you are using the batch import or export tool on a UNIX machine, make sure that the DISPLAY variable has been set on the machine. To set the variable, enter a command such as the following:
export DISPLAY= machine-name
Tip
You can use the -disableX11 option to run the batch import or export tool on UNIX without setting the DISPLAY variable. This option is available with the third maintenance release for SAS 9.4.
https://support.sas.com/documentation/cdl/en/bisag/68240/HTML/default/viewer.htm#n0861tmrlv3nsen164wtorvn6vn2.htm
... View more