|
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…
|
Recent comments