Installation instructions for Projex400 on the ibm system i
You simply upload the library to the AS/400 and then run a command which will tailor your Projex400 environment to your needs.
Core PROJEX400 is now installed. It's as simple as that.
Installation works best using QSECOFR authority, or at the very least QPGMR with authority to Create and Restore libraries and other items such as Output queues, job descriptions and the IBM Job scheduler.
If you do not install the software with a user profile having this authority, you may need to manually change the ownership and grant public authority, for the installation routine to complete successfully.
We have three tried and tested methods of installation FTP, IFS REX and IFS CL. (FTP is our method of choice and easiest to use)
STEP ONE: UPLOAD THE 'PROJEX.400' DISTRIBUTION FILE AND RESTORE THE 'PROJEX400' LIBRARY
|
UPLOAD USING FTP (OVER TCP/IP) If you are connected to your AS/400 using TCP/IP and have FTP capabilities then installation is very simple. Even if you have never used FTP before, but know the IP address of your AS/400, the upload should only take a couple of minutes. We have included a FTP.BAT file that will automate all the FTP instructions and transfer the relevant files to your AS/400. Edit the INSTALL.FTP file and insert the IP address of your AS/400 followed by your AS/400 Username and Password to be used for the install. If you do not know your IP Address either look in your PC Router configuration or use the AS/400 WRKTCPSTS OPTION(*IFC) command to find it. When you edit the 'install.FTP' File you will see: • open 111.222.333.444 • user username password replace 111.222.333.444 with your machine TCP/IP address replace "username" and "password" with the user and password to be used. Save your changes. Ensure that your AS/400 should be ready to act as an FTP Server. If you want to check; from the AS/400 command line use the command: WRKTCPSTS OPTION(*CNN) If you cannot see a connection with a local port entry that is showing "ftp-control" then you must start the FTP server manually: STRTCPSVR SERVER(*FTP) Execute the FTP.BAT file to upload the PROJEX400 *SAVF to your AS/400 The FTP.BAT file reads its instructions from INSTALL.FTP and will then upload the PROJEX.400 distribution file directly into a *SAVF (QGPL/PROJEXSAVF) on the AS/400. A Job log will be generated in FTP.LOG. If you experience any problems check the .LOG file and attempt to correct the lines giving errors. If you are unable to connect and/or login to your AS/400 using this method simply try one of the other techniques. When the FTP process has completed you will have a *SAVF in QGPL called PROJEXSAVF. To check the check the save file is valid simply check that it contains the Projex400 library using: DSPSAVF QGPL/PROJEXSAVF You can now restore the PROJEX400 library from the *SAVF. To Restore the PROJEX400 library type: RSTLIB SAVLIB('projex?isc') DEV(*SAVF) SAVF(QGPL/PROJEXSAVF) RSTLIB(PROJEX400) Please check that the SAVLIB parm matches your machine type. For example, if your AS/400 is Cisc then it will read "savlib(projexCisc)" but if your AS/400 is Risc then should read "savlib(projexRisc)" When the restore has finished you will have a library called PROJEX400 on your AS/400 and the installation routine will have You now need to run the PROJEX400 Installation command (SX4INSTALL), to give the application a brief health check, create a environment library, relevant help text and to tailor each command for your system. |
|
UPLOAD USING AS/400 FOLDERS AND REX: Create a folder to be used by the Projex installation: CRTFLR FLR(PROJEX) AUT(*ALL) Then map a logical PC Drive to this folder on your AS/400. For a machine called 'AS400' on a network called 'APPN' the map destination will be something like: \\APPN.AS400\QDLS\PROJEX Copy the "PROJEX.400" file and the "INSTALL.REX" file to the PROJEX directory on your target AS/400. When this has finished signon to the AS/400 and go to command entry. The Type (or use Cut/Paste) the following commands: CRTSRCPF QTEMP/QREXSRC RCDLEN(112) CPYFRMPCD FROMFLR(PROJEX) TOFILE(QTEMP/QREXSRC) FROMDOC(INSTALL.REX) TOMBR(INSTALL) MBROPT(*REPLACE) TRNTBL(*NONE) TRNFMT(*NOTEXT) CRTPF QGPL/PROJEXPF RCDLEN(528) SIZE(*NOMAX) CPYFRMPCD FROMFLR(PROJEX) TOFILE(QGPL/PROJEXPF) FROMDOC(PROJEX.400) TOMBR(*FIRST) MBROPT(*REPLACE) TRNTBL(*NONE) TRNFMT(*NOTEXT) This loads the Projex400 distribution file into the general purpose library (QGPL) on your AS/400. You can now run the REX process that will convert this file into an AS/400 Save file that is ready to be restored: STRREXPRC SRCMBR(INSTALL) SRCFILE(QTEMP/QREXSRC) Check the *SAVF. When the REX process has completed you will have a *SAVF in QTEMP called PROJEXSAVF. To check the check the save file is valid simply check that it contains the Projex400 library using: DSPSAVF QTEMP/PROJEXSAVF To Restore the PROJEX400 library type: RSTLIB SAVLIB('projex?isc') DEV(*SAVF) SAVF(QTEMP/PROJEXSAVF) RSTLIB(PROJEX400) Please check that the SAVLIB parm matches your machine type. For example, if your AS/400 is Cisc then it will read "savlib(projexCisc)" but if your AS/400 is Risc then should read "savlib(projexRisc)" When the REX routine is finished you will have a library called PROJEX400 on your AS/400. You now need to run the PROJEX400 Installation command (SX4INSTALL) This gives the application a brief health check, creates a environment library, relevant help text and tailors each command for your system. |
|
UPLOAD USING AS/400 FOLDERS AND CL PROGRAM: This technique copying the PROJEX.400 file into an AS/400 folder then uses SNA/DS to convert it into an AS/400 save file. The Projex400 library is then restored from this save file. The following instructions describe how to copy the unzipped file to a folder on your AS/400 called 'PROJEX'. This will be converted by the supplied CL program into an AS400 *SAVE File. This means that subsystem QSNADS must be active and that the user-profile that you are running is enrolled in SNADS. From the AS/400 command line: CRTFLR FLR(PROJEX) INFLR(*NONE) AUT(*ALL) Then map a logical PC Drive to this folder on your AS/400. For a machine called 'AS400' on a network called 'APPN' the map destination will be something like: \\APPN.AS400\QDLS\PROJEX Copy the "PROJEX.400" file and the "INSTALL.CLP" file to the PROJEX Folder on your AS/400 Sign on to your AS/400 and type this to copy the source for the install program to a Source File: CPYFRMPCD FROMFLR(PROJEX) TOFILE(QGPL/QCLSRC) FROMDOC(INSTALL.CLP) TOMBR(SX4INSTCLP) MBROPT(*REPLACE) CHGPFM FILE(QGPL/QCLSRC) MBR(SX4INSTCLP) SRCTYPE(CLP) You now need to edit the program source to change the Variables &USERNAME and &SYSTEMNAME to contain the correct values, for your user profile SNA/DS enrolment. If you do not - the program assumes that your User Profile and System name are to be used. STRSEU SRCFILE(QGPL/QCLSRC) SRCMBR(SX4INSTCLP) - and edit the variables When you have updated the source go to the command line and create the program: CRTCLPGM PGM(QGPL/SX4INSTCLP) Now call the program to restore PROJEX400: CALL PGM(QGPL/SX4INSTCLP) After successful completion, a message will be displayed confirming that the PROJEX400 library has successfully been restored to your AS/400. You now need to run the PROJEX400 Installation command (SX4INSTALL), to give the application a brief health check, create a environment library, relevant help text and to tailor each command for your system. What If The Program Fails!?! Examine the joblog and correct the error. If SNADS errors are encountered check the following: Your Userid is enrolled in SNADS (WRKDIR) SBS(QSNADS) is active (WRKACTJOB or WRKSBSJOB) You have used the correct Userid and Address (WRKDIR) The distribution Queue for the specified Address is not in a held status (WRKDSTQ & CFGDSTSRV) Each of these techniques is described in detail later… |
COMPLETE THE INSTALLATION BY USING THE 'SX4INSTALL' COMMAND
After uploading the software to your AS/400 you will now need to run the PROJEX400 Installation command (SX4INSTALL).
This gives the application a brief health check, creates an ‘Environment’ library unique to your machine, relevant help text and tailors each command for your system.
From the AS/400 command line type:
PROJEX400/SX4INSTALL USERNAME('your name') COMPANY('your company')
There are a number of parameters on the command. Press F1/HELP when prompting for information.
YOU ARE NOW READY TO USE PROJEX400!

Recent comments
16 min 58 sec ago
1 hour 49 min ago
3 days 1 hour ago
4 days 18 hours ago
6 days 18 hours ago
6 days 22 hours ago
1 week 12 hours ago
1 week 12 hours ago
2 weeks 4 days ago
2 weeks 4 days ago