|
View previous topic :: View next topic
|
| Author |
Message |
gokuldass
New User
.jpg)
Joined: 18 Mar 2005 Posts: 48 Location: india
|
|
|
|
Hi,
I am running 3 jobs parallelly which uses a rexx routine to modify a template and then submits it. The flow of the rexx routine is as follows.
ADDRESS ISPEXEC 'FTOPEN TEMP'
ADDRESS ISPEXEC 'FTINCL TEMPLATE'
ADDRESS ISPEXEC 'FTCLOSE'
ADDRESS ISPEXEC 'VGET (ZTEMPF)'
Then submits the job from ZTEMPF.
When I submit all the 3 jobs parallely, I am getting a error message
"ISPF system data set allocation error - press Enter to continue.
Temporary control card data set cannot be allocated.
Data set 'DEXAD40.SPFTEMP1.CNTL' in use by another user, try later.
ISPF102 No work file -/-Work file not open.".
Looks it uses the same temp file - 'DEXAD40.SPFTEMP1.CNTL' for all the 3 jobs. The first job goes fine and other 2 fails.
Is there a way to create temp files with different names when I run it parallely??
Please suggest if any idea.
Thx,
Gokul |
|
| Back to top |
|
 |
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 767 Location: Whitby, ON, Canada
|
|
|
|
| Do you have an ISPFILE dd statement in your JCL? This dd can be used to override the default output file used by File Tailoring services. |
|
| Back to top |
|
 |
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Gokul,
If you are using TEMP then I believe this is the DD you should use in the JCL:
| Code: |
//ISPCTL1 DD DISP=NEW,
// UNIT=VIO,
// DCB=(BLKSIZE=800,LRECL=80,RECFM=FB), TEMPORARY FILE
// SPACE=(CYL,(1,1)) |
|
|
| Back to top |
|
 |
|
|