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
 

 

ISPPROF Contention error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Wed Jun 02, 2010 12:22 pm    Post subject: ISPPROF Contention error
Reply with quote

Hi,
Im running a jcl , where this main jcl initiate many jcl, like a scheduling process.
The jcl contain ISPPROF ddname .
Im getting contetention error while i try to run my scheduler.
Its telling that the ISPPROF dataset is in use.
Actually in my client mainframe a single userid is use to log into sevreal TSO region at a time like TSO1,TSO2.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Jun 02, 2010 12:29 pm    Post subject: Reply to: ISPPROF Contention error
Reply with quote

usually since none of the interactive profile data is used in a batch process (*)
just allocate a temporary profile dataset for each BATCH execution
(*) never had the need in 30 years and many more customers

if You have the rare need just run a step to copy the active profile to a temporary dataset before using it for the ISPF step
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Wed Jun 02, 2010 12:36 pm    Post subject:
Reply with quote

So you mean to say i have to use two user defined datset in the ISPPROF DD for the schedling process.
One for the main jcl which intiate the other jcl.
one user defined dataset for the jcl that has to be intiated.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2429
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 02, 2010 12:42 pm    Post subject:
Reply with quote

Enrico means something like this:

Code:

//ISPPROF  DD  UNIT=SYSDA,SPACE=(6144,(30,30,5)),
//             DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB,DSORG=PO)   
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Wed Jun 02, 2010 12:42 pm    Post subject:
Reply with quote

Even if i use temporary dataset for the ispprof dd for the Main jcl which intiate the other jcl, it is telling that it is waiting for the temporary resources and finally ending with S322 Abend.
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Wed Jun 02, 2010 2:40 pm    Post subject:
Reply with quote

even if i use the code suggested by Peter, i get the following error


Code:
.MIM1098I Contention with UseridA needs EXCL on L2GT CN(INTERNAL)       
 .MIM1099I Userid holds SYSDSN Userid.ISPF.ISPPROF EXCL CN(INTERNAL)   
 ***         
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Jun 02, 2010 7:44 pm    Post subject:
Reply with quote

The example from Peter has no DSN and would generate a temporary name.
Your error msg shows a real DSN of Userid.ISPF.ISPPROF ...where did that come from?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


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