Problem Note 43137: SAS Enterprise Guide error saving stored process code when connected to z/OS
If you try to save a stored process from SAS® Enterprise Guide running on z/OS® while a stored process with the same name is running, you may see a window with the following error:
The stored process API failed to save the SAS code. [Error] File is in use,
/unix-directory/sas_source.sas”
Note that this only happens when the stored process source code is running from a z/OS Unix file system file.
The following conditions may cause this problem.
- The workspace server is configured to use Unix file system files by adding the following to the SAS command or SAS configuration file used to start the server:
-work /
Unix-directory -filesystem HFS
- Then in the Advanced Options --> File Navigation Tab the Path radio button points to a Unix file system path that contains your Stored Process code, for example:
/u/username/storedprocesses/
- Running a stored process, usually a long running task.
- In a second EG session use the New-> Stored Process wizard and give it the same name of the stored process currently running until you get to step 5 in the wizard.
- You will get an error that the file is in use.
- The stored process source file will now be empty. It is not deleted, only set to zero length.
Currently this problem occurs with Enterprise Guide versions 4.2 and 4.3.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
The stored process API failed to save the SAS code. [Error] File is in use,
/
unix-directory/sas_source.sas”
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2013-12-23 14:21:41 |
Date Created: | 2011-05-02 16:45:19 |