How can I use applyptf in conjunction with a CA Client Automation Software Delivery job?

Document ID : KB000009492
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

How can I use applyptf in conjunction with a CA Client Automation Software Delivery job to apply CA provided fixes?

Background:

Often administrators need to apply a CA Support provided testfix to multiple affected machines and this document describes how this process can be automated so that you do not have to apply the fix to each individual machine one at a time. 

Environment:
All versions of CA Client Automation
Instructions:

To create a package for CA Client Automation Software Delivery to distribute applyptf fixes, follow the steps below:

  1. In a separate folder, extract the patch using cazipxp -u QXXXXXX.caz 

  2. Copy the latest applyptf.exe and applyptf.ini files to the same folder 

  3. In SD Explorer, navigate to Software Library-> All Software select on New-->Software and give a meaningful name and version information 

  4. Expand the newly created package in the left hand pane under All Software 

  5. Right-click and select 'Source' -> select 'New Volume' -> select 'From Directory', give a name and select 'Browse' button and navigate to the folder which you created above and select 'Choose' and select OK. 

  6. Now expand the Source->PackageName->FolderName and drag and drop the applyptf.exe file from the right hand pane to the "Procedures" tree item on the left hand pane. 

  7. Select Procedures->applyptf, right select and select properties 

  8. In the Embedded file tab, in the 'Parameters' text box enter the following command: 

    /PTF=QXXXXXX.jcl /NODE=%COMPUTERNAME% /SILENT /installnew /OUTPUTFILE=C:\QXXXXXX.TXT 

    For example, if the test fix is QO60498, then the command would be: 

    /PTF= QO60498.jcl /NODE=%COMPUTERNAME% /SILENT /OUTPUTFILE=C:\QO.TXT 

    Now close properties 

  9. Right select on the Package and select "Seal" to seal the package 

  10. Drag and drop the package to the Units/Groups to which the fix has to be applied.

 

 

Additional Information:

To obtain the latest version of applyptf and cazipxp.exe and cazip.exe please visit this URL :

https://support.ca.com/us/product-content/admin-content/freeware-utilities.html

For more details on applyptf usage please click on the Learn More choice on the above link.

 

CA IT Client Manager(ITCM) - Creating a Package to run Applyptf 

https://www.youtube.com/watch?v=SvEkN0j0iGc&index=39&list=PLynEdQRJawmyMiyiQOvtT1pBQuc_3oCZz