Difference between revisions of "I2Rest Install"

From i2Rest
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:i2Rest installation instructions}} # Download file i2Rest_Install.ZIP # Put it to your home directory or to any other folder on IFS # Open emulator session and...")
 
m
Line 15: Line 15:
 
# Verify i2Rest installed:
 
# Verify i2Rest installed:
 
##<code>WRKLICINF PRDID(0AI2R07)</code>
 
##<code>WRKLICINF PRDID(0AI2R07)</code>
##:<small>i2Rest IBM i Services should be diaplayed</small>
+
##:<small>i2Rest IBM i Services should be displayed</small>
 
##<code>WRKOBJPDM I2REST</code>
 
##<code>WRKOBJPDM I2REST</code>
 
##:<small>You'll see objects in I2REST product library</small>
 
##:<small>You'll see objects in I2REST product library</small>
  
 
Install completed, you can define basic implementation settings and try to call IBM i based APIs
 
Install completed, you can define basic implementation settings and try to call IBM i based APIs

Revision as of 16:31, 4 June 2020

  1. Download file i2Rest_Install.ZIP
  2. Put it to your home directory or to any other folder on IFS
  3. Open emulator session and run following commands:
    1. CHGCURDIR <directory_where_ZIP_copied>
      you'll see message "Current directory changed."
    2. QSH CMD('jar xMvf i2Rest_Install.ZIP')
      It will extract SAVF from zipped file, you'll see message "inflated: I2REST.SAVF"
    3. CRTSAVF FILE(QTEMP/I2REST)
      File I2REST created in library QTEMP.
    4. CPYFRMSTMF FROMSTMF(i2rest.savf) TOMBR('/qsys.lib/qtemp.lib/i2rest.file') MBROPT(*REPLACE)
      "Stream file copied to object."
    5. RSTLICPGM LICPGM(0AI2R07) DEV(*SAVF) SAVF(QTEMP/I2REST)
      *PGM objects for product 0AI2R07 option *BASE release *FIRST restored.
  4. Verify i2Rest installed:
    1. WRKLICINF PRDID(0AI2R07)
      i2Rest IBM i Services should be displayed
    2. WRKOBJPDM I2REST
      You'll see objects in I2REST product library

Install completed, you can define basic implementation settings and try to call IBM i based APIs