[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | *OLD* ALL-IN-1 (tm) Support Conference |
Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
Moderator: | IOSG::PYE |
|
Created: | Thu Jan 30 1992 |
Last Modified: | Tue Jan 23 1996 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 4343 |
Total number of notes: | 18308 |
3376.0. "Accessing File Cabinet from scripts on the symbiont queue." by WAYOUT::CLARKE () Fri Oct 08 1993 18:19
A customer is running scripts on the symbiont queue which create documents in
the submittors file cabinet as follows;
CABINET SET_DRAWER OA$MAIL_DRAWER
CABINET CREATE "ANALYSIS PRINTS",,@#CURDOC
CABINET BEGIN
CABINET ADD_ATTR ,"TITLE", "ITS - RCE Reports"
CABINET ADD_ATTR ,"AUTHOR", OA$FULL_NAME
CABINET ADD_ATTR ,"DSAB","WPSPLUS"
CABINET END
COPY "OA$TEMP:ITS_RC.WPL" OA$CURDOC_FILENAME
DELETE_FILE OA$TEMP:ITS_RC.WPL
He has a second script which uses similar syntax but with a different title and
temporary filename in OA$TEMP. Both of these scripts can be run or submitted on
the script queue successfuly. However when they run concurrently on the script
queue (or one is run interactively while one runs on the script queue) the
second script fails because the file in OA$TEMP is locked.
The scripts are running under the same account name creating docs in the same
filecabinet.
Is any form of file cabinet locking (cabinet lock_drawer ?) and detection
required or should this concurrent access be ok?
Regards
Aston Clarke
UK CSC
T.R | Title | User | Personal Name | Date | Lines |
---|
3376.1 | | IOSG::MAURICE | Differently hirsute | Fri Oct 08 1993 18:58 | 9 |
| Hi,
Does OA$CURDOC_FILENAME in your example get the .WPL extension?
Have you tried COPY/FILE (if the answer to the above question is yes)?
Cheers
Stuart
|