View previous topic :: View next topic
|
Author |
Message |
Smita.t2
New User
Joined: 17 Apr 2012 Posts: 31 Location: Bangalore
|
|
|
|
We are trying to clone existing application.
Is there a way to have same application id's in TWS? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
And how do you think TWS is going to differentiate between ApplicationA and ApplicationA? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
You can copy an application to a new application with a different name by using the Batch Command Interface.
See :
IBM Tivoli Workload Scheduler for z/OS
Programming Interfaces |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
Your question is not clear. As Nic has said, how will TWS distinguish between two applications of the same name?
Or do you mean that you want to copy the application to a new name, but keep everything else the same? In that case, it's just a matter of using the C (copy) command and changing the application name.
You need to be more clear about your requirements and what you are trying to achieve. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
It is possible to create applications with the same application name.
For a full explanation see :
IBM Tivoli Workload Scheduler for z/OS
Planning and Scheduling the Workload
SH19-4546-01
Chapter 6. Standard Applications and Group Definitions. |
|
Back to top |
|
|
Smita.t2
New User
Joined: 17 Apr 2012 Posts: 31 Location: Bangalore
|
|
|
|
Thanks Peter.
Its mentioned in manual as
=================
When you copy an application, the valid-to date of the old version is automatically set to the day before the valid-from date of the new version. If the new version is valid only for dates earlier than other versions, its valid-to date is set to one day earlier than the valid-from date of the earliest old version.
=================
Situation is our new developed application, may need to be run parallel with existing application.
Appl A: JCL1 - from Job library 1
new Appl A: JCL1 - from Job library 2
Sequence of jobs/operations will be same in both Applications.
We are trying to see if we can define same application id perhaps with different work station etc, retaining the jobs/operations flow same? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
The AD record key contains the application id, the status (active/pending) and the valid to date. As long as there is a difference between one of the last two fields its possible to have "duplicate" applications.
I don't know what is going to happen when the LTP and/or CP is created.
So why don't you try it.
Quote: |
perhaps with different work station etc |
That will be of no influence. |
|
Back to top |
|
|
Smita.t2
New User
Joined: 17 Apr 2012 Posts: 31 Location: Bangalore
|
|
|
|
thanks Peter. |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
Only the application with the latest valid-to date will be brought in to the current plan. The idea of this (I imagine) is that you can copy an application when making changes. The new application (the one with the later valid-to date) will be the one that is used. Should there be a need to backout, the new application could be deleted and the previous one will then have the latest valid-to date and so that will be used.
This doesn't appear to be your scenario. Why can't you just copy the application to a different name and then change whatever details (eg; work-station) you require? Apart from anything else, it will then be immediately obviously which one is which. |
|
Back to top |
|
|
Smita.t2
New User
Joined: 17 Apr 2012 Posts: 31 Location: Bangalore
|
|
|
|
Thanks David. |
|
Back to top |
|
|
|