Data set USER.SPFTEMP1.CNTL' in use by another user .



IBM's Command List programming language & Restructured Extended Executor

Data set USER.SPFTEMP1.CNTL' in use by another user .

Postby samb01 » Fri Jul 04, 2014 7:40 pm

Hello,

when i run my rexx i have somtimes this message :

ISPSTART CMD(%REXX01)
ISPF system data set allocation error - press Enter to continue.
Temporary control card data set cannot be allocated.
Data set 'USER.SPFTEMP1.CNTL' in use by another user, try later.
PROBLEME DE SOUMISSION DU JCL DU SQUELETTE
ISPD117
The initially invoked CLIST ended with a return code = 8
NULLFILE was preallocated (no free was done).
READY
END



Here is my job

//MOVMBRA  EXEC PGM=IKJEFT01,DYNAMNBR=100,REGION=4M   
//SYSTSIN  DD  *                                       
PROFILE NOPREFIX                                       
ISPSTART CMD(%REXX01)                               
//SYSPROC  DD DSN=ISP.V1R12M0.SISPCLIB,DISP=SHR       
//SYSEXEC  DD  DISP=SHR,DSN=&REXX                     
//SYSTSPRT DD  SYSOUT=*                               
//ISPPROF  DD  DSN=&&PROF,DISP=(NEW,PASS),             
//     DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB),   
//     SPACE=(TRK,(2,1,2)),UNIT=VIO             
//ISPMLIB  DD  DSN=ISP.V1R12M0.SISPMENU,DISP=SHR
//ISPSLIB  DD  DSN=ISP.V1R12M0.SISPSENU,DISP=SHR
//         DD  DSN=URET.SKELS,DISP=SHR         
//ISPPLIB  DD  DSN=ISP.V1R12M0.SISPPENU,DISP=SHR
//ISPTLIB  DD  DSN=ISP.V1R12M0.SISPTENU,DISP=SHR
//SYSTSPRT DD  SYSOUT=*                         
//SYSTERM  DD  SYSOUT=*                         
//SYSABEND DD  SYSOUT=*                         
//ISPLOG DD SYSOUT=*,                           
// LRECL=120,BLKSIZE=2400,DSORG=PS,RECFM=FB     




Thank's for your help.
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Data set USER.SPFTEMP1.CNTL' in use by another user .

Postby Robert Sample » Fri Jul 04, 2014 9:20 pm

You did not indicate any problems with this. You did not ask any questions.

So ... congratulations on your message.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Data set USER.SPFTEMP1.CNTL' in use by another user .

Postby steve-myers » Fri Jul 04, 2014 9:32 pm

When you issue the ISPF SUBMIT command in edit, ISPF copies the contents of your edit work data to what amounts to temporary data set, and then issues the TSO SUBMIT command for the temporary data set.

To save time in this process, ISPF allocates a couple of these data sets - userid.SPFTEMPx.CNTL - when it starts, and deletes then when it terminates. What I think is happening here is the ISPF in your batch job is trying to allocate one of these data sets while the ISPF in your TSO session is still running.

One way to work around this problem is to submit the job outside of ISPF using the TSO SUBMIT command.

Since I don't use ISPF in batch jobs I prepare, there may be other, more clever, ways to work around this problem, that some other expert can propose, but I'm out of ideas.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post