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

Clone Application ID in TWS


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Smita.t2

New User


Joined: 17 Apr 2012
Posts: 31
Location: Bangalore

PostPosted: Fri Oct 30, 2015 2:25 pm
Reply with quote

We are trying to clone existing application.
Is there a way to have same application id's in TWS?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Oct 30, 2015 5:06 pm
Reply with quote

And how do you think TWS is going to differentiate between ApplicationA and ApplicationA?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Sat Oct 31, 2015 2:48 pm
Reply with quote

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
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Mon Nov 02, 2015 3:31 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Tue Nov 03, 2015 12:45 pm
Reply with quote

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
View user's profile Send private message
Smita.t2

New User


Joined: 17 Apr 2012
Posts: 31
Location: Bangalore

PostPosted: Wed Nov 04, 2015 10:47 am
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Wed Nov 04, 2015 1:36 pm
Reply with quote

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
View user's profile Send private message
Smita.t2

New User


Joined: 17 Apr 2012
Posts: 31
Location: Bangalore

PostPosted: Wed Nov 04, 2015 1:45 pm
Reply with quote

thanks Peter. icon_smile.gif
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Wed Nov 04, 2015 3:12 pm
Reply with quote

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
View user's profile Send private message
Smita.t2

New User


Joined: 17 Apr 2012
Posts: 31
Location: Bangalore

PostPosted: Wed Nov 04, 2015 3:56 pm
Reply with quote

Thanks David. icon_smile.gif
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts DB2 Event passed to the Application P... DB2 1
No new posts ISPF option 7.3 - can only see ISR ap... TSO/ISPF 6
No new posts reset/clear ALL application profile v... TSO/ISPF 3
No new posts Best way to Capture Auth ID of the so... COBOL Programming 1
Search our Forums:

Back to Top