Can you configure multiple resources at one shot using TXSeries Administration Console?
John Kurian 110000C2DH Visits (2467)
Are you using TXSeries for Multiplatforms version 6.1 or above? Then you must be familiar with the TXSeries Administration Console (Let me call it TAC to keep it short). Through TAC you can perform administration and configuration activities pertaining to the different resources within the TXSeries for Multiplatforms installation.
Probably you might have used TAC to add resource to a region. If you see that bit closely, you will find that TAC does not provide a mechanism to add more than one resource at a single shot. Where as, if you go to the delete screen, it lists all the resources available and you can perform multiple selections on the resources and hence you can delete more than one resource with a single click.
Consider a typical situation, where WLM (work load manager) is in action. You may want to replicate a large set of TXSeries resources onto more than one region. One option to achieve this is to rely on the command line interfaces provided by TXSeries For Multiplatforms. You can wrap all the resource configuration commands within a shell or batch script and execute the script. Well, if you are addicted to TAC, you will end up adding one resource at a time to each region. This is obviously a tedious job. That raises the question: Can you configure multiple resources at one shot using TXSeries Administration Console?
Well, the answer is YES. You need to exploit the Run CICS Commands facility in TAC. In TAC you will find a link at the bottom of navigation panel on the left side. Clicking this link will open up a text area on the work area panel on the right side of TAC. Here you can enter any CICS commands, each command in a separate line.
Hey, wait a moment! I am a staunch supporter of TAC graphical interface. How do you expect me to know the command to be entered here?
Simple. Whenever you configure a resource through TAC, upon completion of the task, it displays the CICS Command which can be used to achieve the same operation, through the command line. So, if your aim is to add a large number of resources, you may have to add one resource through TAC, and then get the equivalent CICS Command from the top of the result page. You need to copy and paste this command multiple on to the Run CICS Commands text area and then edit the command to reflect the new resource name.
Though this discussion was hovering around addition of a new resource, the Run CICS Commands facility is not restricted to that. You can run any CICS command from this interface in TAC. Also note that, Run CICS Commands facility acts for the TXSeries for Multiplatforms installation, and not for a specific region. So the command you enter in the Run CICS Commands text area can span multiple regions.
To quote an example, consider the following commands in Run CICS Commands text area
cicscp –v create region JKREG
These command when executed, will create a region called JKREG, add a program definition called HELOPROG and start the JKREG region in the cold mode.