[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

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

2572.0. "Concurrent "COPY" problem" by DENGES::IPRALONG (Ir�ne) Thu Apr 15 1993 13:01

    Referring to note 572 concerning Funciton COPY in a batch procedure,
    I'm facing the following problem:
    
    The batch file is executed in the user's context with a:
    $ALLIN1/	noinit
     oa$ini_globals
     oa$ini_set_default_dir
    
    Which means that logical OAUSER is defined.
    
    The instruciton causing problem is:
    
    COPY "formules$work:x.txt" "formules$work:x.wpl"
    
    The error is as in note 572 (problem with copy funciton, error opening
    TEXT DSAB) 
    BUT it only appears sometimes apparently when the COPY function is
    executed more than once at the same time. I have multiple entries in my
    batch queue and I need them. I fI set my job limit to 1 then I don't
    have the problem.
    
    Is it the opening of WPSDEF.WPL or the call to the WPSPLUS DSAB 
    concurrently which is causing the problem ? What work around can I have ?
    
    
    Thanks in advance for any prompt answer, (version 2.4, 4.0)
    
    Ir�ne
T.RTitleUserPersonal
Name
DateLines
2572.1Another wpsdef.wpl needed?AIMTEC::BUTLER_TThu Apr 15 1993 13:2317
    Irene,
    
    I do not think it is the dsab.  (I leave that to those who know)
    
    From note 3414.2 in the ALL-IN-1_V23 conference:
    
    	the first step was to change the directory

		ALLIN1/REENTER/NOINIT/DIRECTORY=[xxxxxx.BATCH]

    	the second step was to create another copy of WPSDEF.WPL and
    	put it in the [.batch] directory, different from the original.

    
    Give it a try and HTH,
    
    Tim

2572.2Still missing one bit...GVPROD::CACHRL::IreneIl n'y a pas le feu au lac !Mon Apr 19 1993 17:1415
Thanks Tim,


I've done what you suggested wich will prevent the error happening if the 
interactive user is working at the same time as the COPY in batch.

But it doesn't seem to correct the problem when MULTIPLE COPY's in batch 
are occuring the the batch queue at the same time for the same USER.

Any other idea ?

Thanks

Ir�ne

2572.3Kludge itAIMTEC::BUTLER_TMon Apr 19 1993 18:5814
    Hello,
    
    The only thing I can think of is to create a different directory
    for each batch job.
    
    I know that is the pits ......
    
    	create the dir
    	copy wpsdef.wpl to the new dir
    
    
    Wish I had more,
    
    Tim