Difference between revisions of "I2Rest Install"
Line 1: | Line 1: | ||
{{DISPLAYTITLE:i2Rest installation instructions}} | {{DISPLAYTITLE:i2Rest installation instructions}} | ||
− | '''i2Rest package (Server and Client) can be installed on IBM i V7R1M0 and higher.''' Installation on lower OS versions available by request at contacts@i2rest.com<br/> | + | '''i2Rest package (Server and Client) can be installed on IBM i V7R1M0 and higher.''' [https://www.i2rest.com/download/latest/i2Rest_Install_V6R1M0.ZIP Installation on V6R1M0] is updated from time to time, and does not always contain the latest code changes. Installation on lower OS versions is available by request at contacts@i2rest.com<br/> |
# Check IBM ASCII Runtime is installed and properly configured. In emulator session: | # Check IBM ASCII Runtime is installed and properly configured. In emulator session: | ||
##<code>CALL PGM(QSYS/QADRTCINF) parm('list')</code> | ##<code>CALL PGM(QSYS/QADRTCINF) parm('list')</code> |
Latest revision as of 10:05, 30 March 2022
i2Rest package (Server and Client) can be installed on IBM i V7R1M0 and higher. Installation on V6R1M0 is updated from time to time, and does not always contain the latest code changes. Installation on lower OS versions is available by request at contacts@i2rest.com
- Check IBM ASCII Runtime is installed and properly configured. In emulator session:
CALL PGM(QSYS/QADRTCINF) parm('list')
- Make sure there is an entry for your job CCSID(s) in the list. If needed, create/update conversion tables:
CALL PGM(QSYS/QADRTCINF) parm('update')
- It will create/update conversion pages on your IBM i server
- Download file i2Rest_Install.ZIP. Archive versions can be found here.
- Put it to your home directory or to any other folder on IFS
- Open emulator session and run following commands:
CHGCURDIR <directory_where_ZIP_copied>
- you'll see message "Current directory changed."
QSH CMD('jar xMvf i2Rest_Install.ZIP')
- It will extract SAVF from zipped file, you'll see message "inflated: I2REST.SAVF"
CRTSAVF FILE(QTEMP/I2REST)
- File I2REST created in library QTEMP.
CPYFRMSTMF FROMSTMF(i2rest.savf) TOMBR('/qsys.lib/qtemp.lib/i2rest.file') MBROPT(*REPLACE)
- "Stream file copied to object."
RSTLICPGM LICPGM(0AI2R07) DEV(*SAVF) SAVF(QTEMP/I2REST)
- *PGM objects for product 0AI2R07 option *BASE release *FIRST restored.
- Verify i2Rest installed:
WRKLICINF PRDID(0AI2R07)
- i2Rest IBM i Services should be displayed
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