Ohio Educational Computer Network System (OECN)
UDMS Beginning Training Guide


Previous Contents


Appendix A
Generating Mailing Labels

A.1 Overview of the Lesson

This is an additional lesson to illustrate the LABEL (LBL) option of UDMS. In this lesson you will use the Demo Data files supplied by Interactive Software, Inc. and the Personnel View. This option allows you to create mailing labels with one, two, or three accross a page. It will also allow you to make sorts and selections on the data before generating the labels.

For the Labels option you will do the following:

  1. Use the data base, DEMO - UDMS Demo/Practice Dictionary (as provided by Interactive Software Systems, Inc.)
  2. Use the LABELS option at the UDMS Main menu.
  3. Use the PRSMST (Personnel Demo File) view of the data base.
  4. Create a Labels Descriptor including the length and width of the label.
  5. Select the fields to be used on the label.
  6. Define the sorting fields.
  7. Format the label by placing the fields at the correct location.
  8. Generate the labels including deciding the number of labels in a row.
  9. Catalog to save the label definiitions.

A.1.1 Bring Up UDMS and the Database

Use the Menu System and select the OECN option.

Next select the UDMS option. You are first shown a list of the available databases. Use up and down arrows to highlight the desired selection, and then press the [Return] key. For this exercise select the "DEMO UDMS Demo/Practice Dictionary" option.

You will bring up the text based version of UDMS and see the following main menu:


 
_________________________________________________________________________ 
|                                                                       | 
| Version 5.3-aa        User Data Management System                     |         
|                                                                       |         
|                       M  A  I  N     M  E  N  U                       |         
|                                                                       |         
|          RPW    ReportWriter                 INQ    Inquiry           |         
|          EXP    Export                                                |         
|          LBL    Labels                                                |         
|          TXT    Text/Merge                                            |         
|                                                                       |         
|                      MOD    Select Defs by Module (RPW, EXP, FRM...)  |      
|                      DATA   Select a Data Def (Record/View/Alias)     |      
|                      EXIT                                             |      
|                                                                       |         
|                                                                       |         
|                                                                       |         
|                                                                       |         
|                                                                       |         
|  MENU                       <PF2> help                  <PF4> exit    | 
|                                                                       |         
|        Copyright (C) 1987-1995 Interactive Software Systems Inc.      |         
|                         Enabled until 11/22/99.                       |         
|_______________________________________________________________________|                                                                                
 
 

Select LABELS Option and PRSMST Data Definition

At the Main UDMS menu select the LABELS option. You should see a Data Definition screen similar to the following:


 
______________________________________________________________________________ 
|                                                                            |                           
|                           EXISTING DATA DEFINITIONS                        |     
|                                                                            |     
|                                                                            |     
|                 A_OECN_USERS       ALIAS OECN User Authorization           |     
|                 BILLING            Billing Record                          |     
|                 CO_STATS           Company Operating Statistics            |     
|                 CUST_LU            Customer Master for FRM Lookups         |     
|                 CUST_MST           Customer Name & Address Master          |     
|                 DAILYTXN           Daily Transaction File                  |     
|                 DEPNDNTS           Dependents Demo File                    |     
|                 HISTTXN            History Transaction File                |     
|                 INVMSTR            Inventory Master File                   |     
|                 LMC_VIEW           PRSMST AND PAYMST                       |     
|                 MBK_PRSPAY         PRSMNT + PAYMST                         |     
|                 MEP_VIEW1          COPY OF VIEW1                           |     
|                 MRP_1              MRP PRSMST AND PAYMST                   |     
|                 NEC_VIEW1          PRSMST + PAYMST                         |     
|                                                                            |     
| SELECT               <PF1> more                   <PF3> cancel             |     
|                                                                            |     
| Highlight the desired DATA DEFINITION by use of the <arrow> keys or        |     
| by entering the Name followed by <return>.  Display windows of Definitions |    
| by use of the <PF1> key.                                                   |    
| Press <return> to make your selection.                                     |    
|____________________________________________________________________________| 
 
 

Type in the word, PRSMST, to select the Personnel Demo view, and press the [Return] key.

A.1.2 The LABEL Descriptor

Next, you will see a screen similar to the following where you are to define the LABEL Descriptor.


 
______________________________________________________________________________ 
|                                                                            |                            
| UDMS-Label                     LABEL DEFINITION            Rcrd: PRSMST    |    
|                                                                            |    
|                       L A B E L     D E S C R I P T O R                    |    
|                                                                            |    
|                                                                            |    
|       1. Label Name              :                                         |    
|       2. Description             :                                         |    
|                                                                            |    
|       3. Label Width             :                                         |    
|       4. Label Length            :                                         |    
|                                                                            |    
|       5. Access Level            :                                         |    
|       6. Access Password         :                                         |    
|                                                                            |    
|       7. Definition Modify Level :                                         |    
|                                                                            |    
|                                                                            |    
| DEFINE                         <PF2> help    <PF3> cancel  <PF4> finished  | 
|____________________________________________________________________________| 
 
 

Notice that this descriptor is similar to the Report Descriptor for RPW, except that it contains entries for the width and the length of the label. The width is the total number of print columns on the label. While the length is the total number of print lines on the label.

For this lesson use the following values. Use the name, LABELSXX (where XX are your initials), describe it as "Personnel Mailing Labels", set the width at 30, and the length at 5. Then accept the defaults for the remaining fields.

A.1.3 Select the Label Fields

After defining the label descriptor, the LABEL FIELD SELECTION menu, similar to the following screen will automatically appear.


 
______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
| Label Fields:               LABEL FIELD SELECTION                          |    
|     Data   Fields                     Record        DspLen Typ Key         |    
|   1 EMPNO                           : PRSMST            5  NU  P           |    
|   2 SSN                             : PRSMST            9  NU  A1          |    
|   3 LASTNAME                        : PRSMST           15  AN  A2          |    
|   4 FIRSTNAME                       : PRSMST           18  AN              |    
|   5 ADDR1                           : PRSMST           30  AN              |    
|   6 ADDR2                           : PRSMST           30  AN              |    
|                                                                            |    
|                                                  <PF3> cancel              |   
|                                                                            |    
| Select the FIELDS to be included in the Label.                             |    
|                                                                            |    
|      SELECTED fields                                                       |    
|      ALL      fields                                                       |    
|____________________________________________________________________________| 
 
 

Choose the "SELECTED" fields option, and a screen similar to the following will appear.


 
______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PAYMST    |    
|                                                                            |    
|   1 ________________________________                                       |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|  Label Fields: 0            LABEL FIELD SELECTION                          |    
|     Data   Fields                     Record        DspLen Typ Key         |    
|   1 PAY_EMPNO                       : PAYMST            5  NU  P           |    
|   2 R_BRANCH                        : PAYMST            2  NU  P.1         |    
|   3 R_NUMBER                        : PAYMST            3  NU  P.2         |    
|   4 WAGE_CLS                        : PAYMST            1  NU  A1          |    
|   5 CUR_SALARY                      : PAYMST            9  NU              |    
|   6 PAY_TYPE                        : PAYMST            1  NU  A2          |    
|                                                                            |    
| SELECT               <PF1> select   <PF2> help             <PF4> finished  | 
|____________________________________________________________________________| 
 
 

You will need to select all of the fields that might be used on the labels. Be sure to include any sort and qualifying fields, whether or not the field is to appear on the label.

The selected fields will simply show at the top of this screen as a list with one field per line. This is NOT how they will appear on the label. To create the actual placement on the label, you will use the "Format Label" option at a later stage.

Use the Down Arrow or the [PF1] key to highlight the desired field and then press the [Return] key to select it for the label. Select the fields: LASTNAME, FIRSTNAME, ADDR1, CITY, STATE, ZIP. You should see a screen similar to the following:


______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    |       
|                                                                            |    
|   2 FIRSTNAME                                                              |    
|   3 ADDR1                                                                  |    
|   4 CITY                                                                   |    
|   5 STATE                                                                  |    
|   6 ZIP                                                                    |    
|   7 ________________________________                                       |    
|                                                                            |    
|  Label Fields: 6            LABEL FIELD SELECTION                          |    
|     Data   Fields                     Record        DspLen Typ Key         |    
|   1 EMPNO                           : PRSMST            5  NU  P           |    
|   2 SSN                             : PRSMST            9  NU  A1          |    
|   3 LASTNAME                        : PRSMST           15  AN  A2          |    
|   4 FIRSTNAME                       : PRSMST           18  AN              |    
|   5 ADDR1                           : PRSMST           30  AN              |    
|   6 ADDR2                           : PRSMST           30  AN              |    
|                                                                            |    
| SELECT               <PF1> next     <PF2> help             <PF4> finished  | 
|____________________________________________________________________________| 
 

When you are finished press the [PF4] key. You should see a screen similar to the following:


 
______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    |    
|                                                                            |    
|   2 FIRSTNAME                                                              |    
|   3 ADDR1                                                                  |    
|   4 CITY                                                                   |    
|   5 STATE                                                                  |    
|   6 ZIP                                                                    |    
|                                                                            |    
|                                                                            |    
|  Label Fields: 6            LABEL FIELD SELECTION                          |    
|     Data   Fields                     Record        DspLen Typ Key         |    
|   1 EMPNO                           : PRSMST            5  NU  P           |    
|   2 SSN                             : PRSMST            9  NU  A1          |    
|   3 LASTNAME                        : PRSMST           15  AN  A2          |    
|   4 FIRSTNAME                       : PRSMST           18  AN              |    
|   5 ADDR1                           : PRSMST           30  AN              |    
|   6 ADDR2                           : PRSMST           30  AN              |    
|                                                                            |    
| FIELD SELECT MENU                            <PF3> cancel  <PF4> finished  | 
|                                                                            |    
| ADD    a Field                REVIEW the Fields             CANCEL         |    
| INSERT a Field                CLEAR  all Fields             FINISHED       |    
| DELETE a Field                                                             |    
|____________________________________________________________________________| 
 
 

Press the [PF4] key again to return to the [TOP] LABEL Menu as shown next.


______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD           LABEL DEFINITION MODIFICATION      Rcrd: PRSMST    |    
|     Label  Fields                     Record        DspLen Typ Key         |    
|                                                                            |    
|   1 LASTNAME                        : PRSMST           15  AN  A2          |    
|   2 FIRSTNAME                       : PRSMST           18  AN              |    
|   3 ADDR1                           : PRSMST           30  AN              |    
|   4 CITY                            : PRSMST           15  AN              |    
|   5 STATE                           : PRSMST            2  AN              |    
|                                                                            |    
| Label Fields: 6                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
| LABEL MENU [TOP]                                  <PF3> cancel             |    
|                                                                            |    
| SELECT Label Fields           FORMAT this Label                    CANCEL  | 
| DEFINE Input/Calc Fields      GENERATE this Label                  SAVE as | 
| QUALIFY Data Records          MODIFY the Label Descriptor          CATALOG | 
| SORT Label data               CHANGE the Submit Parameters                 |    
|____________________________________________________________________________| 
 

Notice that the options at the bottom of this screen are similar to those on the [TOP] RPW Menu, and perform similar functions for the LABELS option.

A.1.4 Select the Sort Fields

Highlight and select the "SORT Label Data" option. Select USER-DEFINED Sorts. Then define LASTNAME as the primary sort field and FIRSTNAME as the secondary sort field. The screen should look similar to the following when you are finished.


______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD           LABEL DEFINITION MODIFICATION      Rcrd: PRSMST    |    
|     Label  Fields                     Record        DspLen Typ Key         |    
|                                                                            |    
|   1 LASTNAME                        : PRSMST           15  AN  A2          |    
|   2 FIRSTNAME                       : PRSMST           18  AN              |    
|   3 ADDR1                           : PRSMST           30  AN              |    
|   4 CITY                            : PRSMST           15  AN              |    
|   5 STATE                           : PRSMST            2  AN              |    
|                                                                            |    
| Sort Entries: 2               LABEL DATA SORTING                           |    
|       Sort Field      Sort Type                                            |    
|                                                                            |    
|   1  LASTNAME           ASC                                                |    
|   2  FIRSTNAME          ASC                                                |    
|                                                                            |    
|                                                                            |    
| SORT FIELDS MENU                            <PF3> cancel  <PF4> finished   | 
|                                                                            |    
| ADD    an Entry               REVIEW  the Entries           CANCEL         |    
| INSERT an Entry               CLEAR   all Entries           FINISHED       |    
| CHANGE an Entry                                                            |    
| DELETE an Entry                                                            |    
|____________________________________________________________________________| 
 

Press the [PF4] key to return to the [TOP] LABELS Menu.

A.1.5 Select FORMAT the Label Option

This is the most difficult part of creating the labels. You will have to manually place the fields at the correct positions on the label. This is similar to creating a report group header, except that there is no default label layout.

Select the option to "FORMAT this Label". Your screen should look similar to the following.


 
______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    | 
|....:...10....:...20....:...30                                              |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
| Label Fields: 6                LABEL FORMATTING                            |    
|          Field             Mask               Line   Justify   Column      |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                                            |    
|                                                   <PF3> cancel             |    
|                                                                            |    
|     USER-DEFINED Label                                    CANCEL           |    
|     LOAD Label from existing Def                                           |    
|____________________________________________________________________________| 
 
 

Notice that a Ruler appears with length equal to the width of the label as chosen in the LABEL Descriptor. Accept the USER-DEFINED option. A screen similar to the following should appear.


 
______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    |    
|....:...10....:...20....:...30                                              |    
|                                                                            |    
|                                                                            | 
|                                                                            |    
|                                                                            |    
|                                                                            |    
| Label Fields: 6                LABEL FORMATTING                            |    
|          Field             Mask               Line   Justify   Column      |    
|                                                                            |    
|   1   ___________...                                                       | 
|                                                                            | 
|                                                                            |    
|                                                                            |    
| DEFINE                <PF1> select   <PF2> help             <PF4> finished | 
|____________________________________________________________________________| 
 
 

Select FIRSTNAME for the first field on the label. You can either type in the field name or use the [PF1] key to select it. The screen should look similar to the following.


______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    |    
|....:...10....:...20....:...30                                              |    
|                                                                            |    
|                                                                            | 
|                                                                            |    
|                                                                            |    
|                                                                            |    
| Label Fields: 6                LABEL FORMATTING                            |    
|          Field             Mask               Line   Justify   Column      |    
|                                                                            |    
|   1   FIRSTNAME            ________________    1     LFT       1           | 
|                                                                            | 
|                                                                            |    
|                                                                            |    
| DEFINE                <PF1> select   <PF2> help             <PF4> finished | 
|____________________________________________________________________________| 
 

Enter 10 X's for the Mask and accept the defaults for the Line, Justification, and Column. The result should be similar to the following.


______________________________________________________________________________ 
|                                                                            | 
| Lbl: LABELSHD                  LABEL DEFINITION            Rcrd: PRSMST    |    
|....:...10....:...20....:...30                                              |    
|                                                                            |    
|XXXXXXXXXX                                                                  | 
|                                                                            |    
|                                                                            |    
|                                                                            |    
| Label Fields: 6                LABEL FORMATTING                            |    
|          Field             Mask               Line   Justify   Column      |    
|                                                                            |    
|   1   FIRSTNAME            XXXXXXXXXX          1     LFT       1           | 
|   2   ________________                                                     | 
|                                                                            | 
|                                                                            |    
|                                                                            |    
| DEFINE                <PF1> select   <PF2> help             <PF4> finished | 
|____________________________________________________________________________| 
 


Previous Next Contents