View previous topic :: View next topic
|
Author |
Message |
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
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 |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
|