HP 3000 Manuals

Forms File Content Verification Utility [ HP VPLUS/Windows Programmer's Guide ] MPE/iX 5.0 Documentation


HP VPLUS/Windows Programmer's Guide

Forms File Content Verification Utility 

If your application forms produce unexpected results on the PC, you may
need to verify that the contents of your PC forms file are consistent
with your original host forms file.  The local PC utility VWFFSUMM
provides a summary report of all forms in the PC forms file.  The report
contains a list of all the fields in each form.  The utility formats the
output similarly to the FORMS command in VPLUS batch mode FORMSPEC.

You can visually compare printed reports for consistency between PC and
host forms files.  Perform the following steps to produce a listing and
compare the results:

   1.  Run VWFFSUMM.EXE from its directory location in Microsoft Windows.
       VPLUS/Windows responds by briefly displaying a copyright
       statement, then the utility window appears, as shown in Figure
       5-1.

[]
Figure 5-1. VWFFSUMM Utility Window 2. Click the Action function to display the Action menu, as shown in Figure 5-2.
[]
Figure 5-2. VWFFSUMM Action Menu 3. Click Select Forms File from the Action menu. The Select Forms File dialog box appears, as shown in Figure 5-3. The dialog box shows all the PC forms files in the current directory.
[]
Figure 5-3. Select Forms File Dialog Box 4. Select the name of the forms file for which you want a listing, then click Process. The utility displays the name of each form being processed at the bottom of the dialog box. After processing is complete, the following occurs if an output file for the forms file does not already exist: * The utility produces the listing file with the same name as the forms file, but substitutes a .VWL extension. * The Processing Completion dialog box appears, as shown in Figure 5-4.
[]
Figure 5-4. Processing Completion Dialog Box If the output file already exists, VPLUS/Windows displays the VWFFSUMM Processing dialog box, as shown in Figure 5-5.
[]
Figure 5-5. VWFFSUMM Processing Dialog Box Click Yes to overwrite the file; click No to return to the Select Forms File dialog box. 5. Click Done to return to the utility window. 6. Close the utility from the Action menu, then print the listing file. 7. Using batch mode FORMSPEC on the HP 3000, generate a forms listing of the original HP 3000 forms file. (Refer to Chapter 7 of the VPLUS Reference Manual (32209-90001) for information about the batch mode Forms command.) 8. Compare the files. (The files are similar, but not identical). Figure 5-6 shows sample output for a VWFFSUMM listing file. _______________________________________________________________________________ | | | Forms File: PAYROLL.VWF page 1 | | | | File Last Modified: Mon Oct 8 12:31:38 1990 | | File Last Compiled: Mon Oct 8 12:31:38 1990 | | | | NUMBER LARGEST NUMBER OF: | | OF FIELD BYTES IN | | FORM NAME FIELDS NUMBER NEXT FORM SCREEN CHILDREN | | --------------- ------ ------ --------------- ---------------- | | | | DEDUCT 7 7 ID 1471 0 | | ID 8 8 TAX 1545 0 | | TAX 5 5 DEDUCT 1450 0 | | | | | | Forms File: PAYROLL.VWF page 2| | | | SCREEN BUFFER | | COMPILED LENGTH LENGTH FIELD LENGTH BUFFER | | FORM NAME (BYTES) (BYTES) FIELD NAME NUMBER (BYTES) OFFSET | | --------------- ------ ------ --------------- ------ ------ ------ | | DEDUCT 1471 198 ****Compiled for: HP262X | | VERSION 1 7 0 | | TASK 2 11 7 | | EFFDTE 3 8 18 | | CURDATE 4 8 26 | | EMPMBR 5 10 34 | | LASTNME 6 19 44 | | FIRSTNME 7 16 63 | | ID 1545 223 ****Compiled for: HP262X | | VERSION 1 7 0 | | TASK 2 11 7 | | EFFDTE 3 8 18 | | CURDATE 4 8 26 | | EMPNBR 5 6 34 | | LASTNME 6 17 40 | | FIRSTNME 7 16 57 | | HE 8 2 73 | | TAX 1450 164 ****Compiled for: HP262X | | VERSION 1 7 0 | | TASK 2 11 7 | | EFFDATE 3 8 18 | | CURDATE 4 8 26 | | EMPNBR 5 6 34 | | | | **** End of compiled forms listing. **** | | | _______________________________________________________________________________ Figure 5-6. Sample Output for a VWFFSUMM Listing File


MPE/iX 5.0 Documentation