Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Clone Application ID in TWS

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

New User


Joined: 17 Apr 2012
Posts: 22
Location: Bangalore

PostPosted: Fri Oct 30, 2015 2:25 pm    Post subject: Clone Application ID in TWS
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: 1715
Location: UK

PostPosted: Fri Oct 30, 2015 5:06 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Sat Oct 31, 2015 2:48 pm    Post subject:
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: 175
Location: UK

PostPosted: Mon Nov 02, 2015 3:31 pm    Post subject: Reply to: Clone Application ID in TWS
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Nov 03, 2015 12:45 pm    Post subject:
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: 22
Location: Bangalore

PostPosted: Wed Nov 04, 2015 10:47 am    Post subject: Reply to: Clone Application ID in TWS
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Nov 04, 2015 1:36 pm    Post subject:
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: 22
Location: Bangalore

PostPosted: Wed Nov 04, 2015 1:45 pm    Post subject:
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: 175
Location: UK

PostPosted: Wed Nov 04, 2015 3:12 pm    Post subject:
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: 22
Location: Bangalore

PostPosted: Wed Nov 04, 2015 3:56 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Image Copy of a tablespace that conta... Robin Sulsona DB2 4 Thu Jun 02, 2016 1:47 am
No new posts WebSphere Application Server for z/OS yogesh suryawanshi All Other Mainframe Topics 3 Fri Mar 27, 2015 9:37 pm
No new posts How to trigger a Application(AD- bunc... DEEPAK GARG COBOL Programming 1 Wed Feb 11, 2015 2:43 pm
No new posts Different methods to hit CICS applica... Midhun Mohandas CICS 1 Mon Jan 12, 2015 9:35 am
This topic is locked: you cannot edit posts or make replies. Application Developer - mainframes - hemant_borse2003 Mainframe Jobs 0 Fri Jul 04, 2014 5:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us