View previous topic :: View next topic
|
Author |
Message |
sprasannapathy
New User
Joined: 04 Jan 2008 Posts: 42 Location: india
|
|
|
|
Kindly help me. In control-m by Runtime scheduling parameter we make a dataset exclusive or sharable among the jobs but I could see a demerit that resources name only can be 1 to 20 characters. Please explain me have to define a dataset in Runtime scheduling parameter having length of more than 20 characters.
I have tried in Google to get it but all in vain. In our project we have
Code: |
CONTROL EXCLUSIVE-Job1 E
RESOURCE INITIATOR 0001 |
This means all the dataset used by the Job1 is EXCLUSIVE. At this point I need to have exclusive for only one of the dataset and make other datasets sharable.
Note:
For shared dataset we could see below screen
Code: |
CONTROL R-JOB2 S
RESOURCE INITIATOR 0001 |
This means all the dataset used by the JOB2 is SHARABLE.
Thanks
Prasannaa S |
|
Back to top |
|
|
sprasannapathy
New User
Joined: 04 Jan 2008 Posts: 42 Location: india
|
|
|
|
kindly help me
Thanks
Prasannaa S |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
I don't "do" control-m, but i believe a "resource name" is not the same as a "dataset name".
Suggest you talk with your scheduling people for clarification. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
A Control resource-name is just a user supplied descriptive name of 1 through 20 characters used to identify the resource.
Gerry |
|
Back to top |
|
|
sprasannapathy
New User
Joined: 04 Jan 2008 Posts: 42 Location: india
|
|
|
|
Thanking you for help. I will check with control-m peoples and get back
Thanks
Prasannaa S |
|
Back to top |
|
|
sprasannapathy
New User
Joined: 04 Jan 2008 Posts: 42 Location: india
|
|
|
|
Hi,
I enquired with operations. They are not sure about it. I can understand it is a user supplied name. Please kindly guide me how to add the dataset/ handle the user supplied name.
Thanks
Prasannaa S
Kindly help me. I have gone through control-m document but I could see resource name is a user defined name. It is not clear how to define, where to define, how to add the datasets to the user defined name. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
lets say you have a payroll file which belongs to application XXX.
Now there are 2 jobs, JOBA and JOBB.
JOBA updates the payroll file.
JOBB reads the payroll file and can run anytime. It does not need to run after JOBA.
JOBA and JOBB cannot run at the same time as there would be an enqueue on the payroll file.
Using Control you can set up JOBA this way
Code: |
CONTROL XXX-PAYROLL E
|
JOBB will require
Code: |
CONTROL XXX-PAYROLL S
|
If a job requires a resource in exclusive state, it cannot share usage of that resource with another job (that is, the jobs cannot run in parallel)
eg
If JOBA requires exclusive control of a resource that is already in use by a different job, JOBA must wait until the other job frees the resource regardless of whether the other job is using the resource in shared or exclusive state.
if JOBA already has exclusive control of a resource, any job requiring that resource must wait until JOBA frees the resource,regardless of whether the job requires the resource in shared or exclusive state.
If a job requires a resource in shared state, that job can run in parallel with other jobs requiring the same resource in shared state.
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Gerry,
And there would be no relationship between the the XXX-PAYROll resource and any dataset name, correct?
Quote: |
It is not clear how to define, where to define, how to add the datasets to the user defined name. |
The resource is what is enqueued rather than the dataset name. The jobs serialize on the resource. . . True? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Dick,
sorry for the delay in replying to you but I was having internet problems.
You are correct.
the resource name is just an arbitrary name for the dataset name, it's used internally in Control-M, once a job is submitted it flags the resource is in use in either share or exclusive mode.
If this resource is incorrectly coded in a job regardless of the dataset name, it will not be submitted if the resource has an exclusive state.
Quote: |
JOBA and JOBB cannot run at the same time as there would be an enqueue on the payroll file.
|
By this I meant, if both jobs were submitted to the JES Q at the same time, there would a file contention on the MVS system.
Using the Control resource will avoid waiting for dataset messages and not holding up initiators.
Hopefully what I said makes sense.
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hi Gerry,
Quote: |
Hopefully what I said makes sense. |
Yup, thanks
d |
|
Back to top |
|
|
sprasannapathy
New User
Joined: 04 Jan 2008 Posts: 42 Location: india
|
|
|
|
Thanking for reply.
Code: |
CONTROL XXX-PAYROLL E |
Let us consider the dataset PAYROLL.PS.FILE is used in the JOBA and JOBB. Kindly explain what is relation between the user defined name XXX-PAYROLL. Please guide me
• How to define the user defined name XXX-PAYROLL
• Where to define the user defined name XXX-PAYROLL
• How to add the datasets PAYROLL.PS.FILE to the user defined name XXX-PAYROLL
Thanks
Prasannaa S |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you re-read the info above. . .
Datasets are NOT defined to the resource. |
|
Back to top |
|
|
|