Saturday, February 21, 2015

Download customized IBM i CUM and Group PTFs without Java applet trouble.

Everybody who knows me, is aware that i am a big Java fan, but there is one thing in Java which does not work, Java applets. So it will be no surprise that i really hate the whole process to download Cumulative or group PTF's with fix central. The whole process depends on a java applet, which fails most of the time for security reasons.

Java fails for security reasons

In older releases the use of the green screen "SNDPTFORD" command was not a workaround because it was limited to download only small PTF's and not big PTF groups. But recently i noticed that this command was enhanced so that it is able to download PTF's to optical images. I will show you how easy this is and i am pretty sure that you will never ever use Fix Central again.



First step is to create a directory where you want to store the images for the downloaded PTF images with "CRTDIR DIR('/imgclg/ptf')" . I have chosen "imgclg/ptf" for this.
Create a directory on ths Ifs of an IBM i

Start the PTF order process with "SNDPTFORD" with the following parameters.

Send PTF Order on IBM i
PTF indentifier should be the Number of the group PTF you want to download. In my example SF99711 will download all PTF groups except the Cumulative PTF. If you want to download the Cumulative PTF package instead, simply replace SF99711 by *CUMPKG. You can not download a cum PTF package and a group package to the same image catalog. So you have to split the order to get both.

The Delivery format should be *IMAGE.
Set Check PTF to *YES, so that only PTF's which are needed on this particular machine will be downloaded.
The Image directory should be the directory you have created in step one.
Choose a name for the the image catalog which should be created after the images are downloaded by the SNDPTFORD process. I used "ALLPTFGRP"

Verify whether your contact information are correct.

Send your request with option 1 and your Power system will contact IBM to compare which PTF's are needed on your system.

You will get some status messages while your system checks what PTF's are necessary.


After that you will get a message, that your images will be downloaded in the background and that you will get a message to the QSERVICE message queue after the download has finished.

If you want to know how this works in the background have a look at your Job scheduler with "WRKJOBSCDE". You will find a QESECIMG entry which have been created by the SNDPTFORD process. It will check whether the images are ready and download them, or reschedule itself if the images are not ready.


When everything has finished you can find your image catalog with "WRKIMGCLG" and load it into a virtual optical device to install your PTF's on your Power system.


If you like this tutorial, please share it on your favorite social network.

5 comments:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

    ReplyDelete
  2. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.

    java training in bangalore
    java training in bangalore

    ReplyDelete
  3. I believe that there would be great opportunities for those who are coming around this area.
    Best Online Software Training Institute | IoT Training

    ReplyDelete
  4. Ciitnoida provides Core and java training institute in

    noida
    . We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-

    oriented, java training in noida , class-based build

    of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an

    all-time high not just in India but foreign countries too.

    By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13

    years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best

    Java training in Noida.

    java training institute in noida
    java training in noida

    ReplyDelete
  5. Best Summer Internship In Noida

    These technologies prepare individuals for fields like software programming, technical support, graphic design, software testing, business analytics. Embedded Systems, Industrial Automation Training and more. Candidates go through a series of comprehensive practical sessions where they work on live problems and implement solutions on real-time basis.
    It has a dedicated placement cell which provides 100% placement assistance to students. The benefits that a student gets out of summer training are innumerable. CIITN,Best Summer training Center for B.Tech/CS/CSE/IT/ BCA/MCA/ B.E /M.tech / B.sc/ M.sc/ Engineering Student has already accomplished itself successfully in the field of Training and Development after setting milestones and bringing smiles to the faces of more than 1 Lakh students. CIITN was incorporated in the year 2002 and over the years CIITN has grown remarkably into the greatest training giant of Northern India.
    There is no looking back to technology! Those passionate for it need not worry about the professional prospects it offers. Courses and trainings in the field of Computer Science and Applications open a wide array of choices for individuals. All you need to do it prepare yourself right!

    Summer Internship Course In Noida

    Summer Internship Training In Noida

    ReplyDelete

ad