IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISPPROF Contention error


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jun 02, 2010 12:29 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Jun 02, 2010 12:42 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top