WEB1, Step 2. Package the Deployment Material on the Source System
When you have completed these steps, you will have a single composite save file named Bnn_ALL that contains everything from your IBM i that is to be deployed.
Step |
Activity |
How to Do It |
ü |
Assign a build number |
Assign a build number nn to the version of your product being released. This number will be used in the following steps for a file naming convention. |
|
|
Optionally include VLF.NET objects |
If you want to compile the Framework as a .NET executable, you need to save it with the VLF.NET feature selected. |
See <A HREF="webnet_0025.htm">Create VLF.NET Objects to be Included in the Deployment Package</A>. |
|
Include LANSA server objects (typically on the IFS) |
Create a save file for holding server objects. Include the following standard LANSA Server objects: · Images · Javascripts · HTML files · XML Files · CSS Files
|
Create an IBM i save file called, for example, Bnn_IFS (where nn is your version number) using the CRTSAVF command. Save from the IBM i IFS all objects of the listed types into this save file using the SAV command. This will include LANSA and non-LANSA objects. In a typical installation you would include all the files in the images folder. See Notes on the SAV and RST commands. Make sure these files are included: VF_*.* FP_*.* UF*.*
Also include your own server objects. If you are using RAMP, include the objects in the package. See <A HREF="webrampts003.htm">Prepare your RAMP-TS Screen Definitions For Deployment</A> or <A HREF="lansa047_0025.htm">Add RAMP-NL Objects to the Deployment Package</A>. If you are deploying VLF.NET applications, see <A HREF="webnet_0030.htm">Add VLF.NET Objects to the Deployment Package</A>.
|
|
Include your own non-LANSA objects |
If your application contains non-LANSA objects, create save files containing them. Non-LANSA objects are: · RPG Programs · DDS Files · Cobol Programs · DB2 files · Data Areas · Data Queues
|
Create as many IBM i save files named Bnn_OM1, Bnn_OM2, etc as required to contain other non-LANSA IBM i objects. Save all non-LANSA objects into the Bnn_OM1, 2, 3 … n save files files using the SAVOBJ command. |
|
Create an IBM i Export List |
Create a LANSA export list named Bnn_ALL. |
Use the option Work with lists of objects to be exported of the LANSA Housekeeping menu to create the export list. |
|
Include your own LANSA objects in the export list |
Include your own LANSA objects such as filters, command handlers etc.
|
Use the options in the Work with Export List menu to make sure all the objects used in your application are included in the export list. |
|
Include save files in the export list |
Include the save files you have created in the export list |
Use option Add other/non-LANSA objects to the list. Use F20 to find the files. |
|
Include all the standard Framework objects in the export list |
Use F8 to make generic selections when adding objects to the export list.
|
|
|
|
Fields: |
FP_E* FP_R* UB* UF_* VF_* |
|
|
Files (Include data in the files) |
FPTAB FPTABU VFPPF06 VFPPF07 |
|
|
Processes/functions: |
UF_* VF* |
|
|
Other/non-LANSA: (Type *SRVPGM) |
U_BIF985 |
|
|
Web HTML components: |
FP_R* UB_* VF_* |
|
|
Weblets: |
FP* UB* VLF_LAYOUT |
|
|
Visual LANSA components: |
FP_* VF_AW* VF_LW* VF_SW* VFW* |
|
|
Review the export list and make sure included objects are exported compiled (if applicable). |
Specify Y in the Comp Form column of processes, functions, VL components etc. Save the list (F19). |
|
Export the list |
|
Create a save file Bnn_ALL for your export list using the CRTSAVF command. Export your export list to the save file using option 7 (= Export) in the Work with Export Lists menu |
|
Notes on the SAV and RST commands