Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Facing problem with ISPF File Tailoring TEMP file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
gokuldass

New User


Joined: 18 Mar 2005
Posts: 48
Location: india

PostPosted: Thu Mar 22, 2012 5:29 pm    Post subject: Facing problem with ISPF File Tailoring TEMP file
Reply with quote

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
View user's profile Send private message

don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 642
Location: Whitby, ON, Canada

PostPosted: Thu Mar 22, 2012 6:22 pm    Post subject:
Reply with quote

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
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 646
Location: Pennsylvania

PostPosted: Thu Mar 22, 2012 6:39 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us