How to install CA Easytrieve on AIX - add maintenance and verify the installation.

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

Description:

This document describes:

  1. How to find free space on the target AIX system

  2. Copy the CA Easytrieve AIX installation TAR file to the AIX system via FileZilla

  3. Installing CA Easytrieve on AIX via Telnet, then add maintenance and verify installation

  4. Copy and change a CA Easytrieve sample program on AIX via Easytrieve Workbench for Windows and compile and execute on AIX

Solution:

  1. How to find free space on the target AIX system

    Sample to find out where is enough free space:

    1. Open a DOS box and enter:
      telnetopen aix... (your AIX Host name)user (valid user like root)password (valid password)df
      df sample display ->

      Figure 1
      # dfFilesystem    512-blocks      Free %Used    Iused %Iused Mounted on/dev/hd4          425984     52888   88%     9823    57% //dev/hd2         3932160    204368   95%    42551    62% /usr/dev/hd9var       786432    243096   70%     5697    17% /var/dev/hd3          262144    251096    5%       89     1% /tmp/dev/hd1           32768     32064    3%        5     1% /home/dev/hd11admin     262144    261384    1%        5     1% /admin/proc                  -         -    -         -     -  /proc/dev/hd10opt      720896    362136   50%     7008    15% /opt/dev/livedump     524288    523552    1%        4     1% /var/adm/ras/livedump# 
      That shows that the /tmp/ and /admin/ folders could be used - they both have enough free space.

      Go to the /tmp/ path and create a new directory:

      • enter:
        cd /tmp

      • and:
        mkdir mytemp

      • download CDM10085415E.iso from CA Support Online

      • You can burn a CD using this ISO image, or mount the ISO file on your PC using a virtual CD tool - e.g. VirtualCloneDrive



  2. Copy the CA Easytrieve AIX installation TAR file to the AIX system via FileZilla

    1. E.g. mount the "CDM10085415E.iso" as virtual drive W:\ or another free drive letter of your choice.

    2. Logon to the AIX system - e.g. via FileZilla -> see "Host" - "Username" - "Password" ->

      Figure 2

    3. Then do a binary upload "ezt.tar" via FileZilla to the tmp/mytemp folder ->

      Figure 3

  3. Installing CA Easytrieve on AIX via Telnet, add maintenance and verify installation

    1. Create a target folder

      from the root dir (cd /):

      enter:
      cd admin

      Figure 4

      enter:
      mkdir ezt

    2. Go to the new directory:

      cd ezt

    3. Unpack the installation file:

      tar xvf - < /tmp/mytemp/ezt.tar

    4. Enter:

      cd bin

    5. Enter:

      ./setup

      you will see:

      Installing?
      Done 0

    6. Install maintenance - copy "ezt-aix-r11-updates.zip" from: ftp://ftp.ca.com/pub/easytrieve/aix/11.0/ to your PC

    7. Unzip: ezt-aix-r11-updates.zip

    8. Copy "ezt-aix-r11-updates.tar" to your AIX /tmp/mytemp directory (e.g. via FileZilla as explained above)

    9. Enter:

      tar xvf - < /tmp/mytemp/ezt-aix-r11-updates.tar

    10. Enter:

      slibclean

    11. Add some important path instructions to the "profile.CA" file in the /etc/ directory:

      export EZTPATH=/admin/ezt/bin:/admin/ezt/eztpgms:/usr/bin:/usr/lib:
      export PATH=$PATH:$EZTPATH
      export EZTOPTS="-I /admin/ezt/macros"
      export LIBPATH=$LIBPATH:/admin/ezt/bin

      You could also use the CA Easytrieve Workbench for Windows to add the lines above to the profile file. But you have to create a Host profile via Tools - Host Profile Manager before ->

      Figure 5

      • Connect to the AIX system using the Host Profile

      • Go to the /etc/ directory

      • Open the profile.CA file

      • Add the export lines ->

        Figure 6

      • Click "save"



    12. Obtain a license key from CA Technologies and add the key to the "ca.olf" file in the /opt/CA/SharedComponents/ca_lic/ directory ->

      Figure 7

      • Click "save"



    13. "quit" from your Telnet session

    14. Re-connect to your AIX system via Telnet and verify the CA Easytrieve installation - in a DOS box enter:
      telnetopen aix... (your AIX Host name)user (valid user like root)password (valid password)
    15. Enter:

      cd admin/ezt/eztpgms

    16. Enter:

      ezt testezt.ezt

    17. Enter:

      a.out

      Figure 8

      Done.

  4. Copy and change a CA Easytrieve sample program on AIX via Easytrieve Workbench for Windows and compile and execute on AIX via Telnet

    If you would like to change programs, you can use the CA Easytrieve Workbench as shown above.

    In this example "report.ezt" has been copied to: "report_rg.ezt" and some fonts and names have been changed ->

    Figure 9

    Via "Telnet" - got to the /admin/ezt/eztpgms/html_sample/ directory and enter:

    ezt report_rg.ezt -o report_rg.out

    to compile the source. Then execute the program:

    report_rg.out

    sample screen ->

    Figure 10

    Please note: There are other possibilities to compile the source - this is only one option. Another option would be to use the free CA Easytrieve SDS facility.

    In order to see the result - refresh the files window in the Workbench and double click "report_rg.html" ->

    Figure 11