Version 4.2.6 for Mainframes (Update)
 —  Editors  —

Reusing the Layout of a Map

In this session, you will create a map by using the layout of another map.

Start of instruction setTo create a map from a map layout

  1. From the Edit Map menu, execute the Initialize new Map function to create a map with the name MAP003.

  2. On the Define Map Settings for MAP screen, change Page Size to 60, mark WRITE Statement, unmark INPUT Statement, and enter MAP002 next to Layout.

  3. Press ENTER.

    The map settings now look as follows:

    16:57:39               Define Map Settings for MAP                   2007-12-14
                                                                                   
     Delimiters           Format                         Context                   
     -----------------    ---------------------------    --------------------------
     Cls Att CD  Del      Page Size ...... 60            Device Check .... ________
      T   D      BLANK    Line Size ...... 79            WRITE Statement   X       
      T   I      ?        Column Shift ... 0 (0/1)       INPUT Statement   _       
                          Layout ......... MAP002__      Help  ____________________
                           dynamic ....... N (Y/N)        as field default N (Y/N) 
                          Zero Print ..... N (Y/N)                                 
                          Case Default ... UC (UC/LC)                              
                          Manual Skip .... N (Y/N)       Automatic Rule Rank  1    
      O   D      +        Decimal Char ... .             Profile Name .... SYSPROF 
      O   I      (        Standard Keys .. N (Y/N)                                 
                          Justification .. L (L/R)       Filler Characters         
                          Print Mode ..... __            ------------------------  
                                                         Optional, Partial ....    
                          Control Var .... ________      Required, Partial ....    
                                                         Optional, Complete ...    
                                                         Required, Complete ...
                                                                                   
    
                                                                                   
                                                                
    
    
    
    
                       
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help        Exit                                                  Let
  4. Press ENTER.

    The map editing screen appears with the layout of map MAP002.

  5. Delete CITY:(XXXXXXXXXXXXXXXXXXXX by using the field command .T.

  6. Move the second of the remaining output fields to the position shown below by using the field command .M.

    The screen then looks as follows:

    Ob _                                    Ob D CLS ATT  DEL    CLS ATT  DEL      
    .                                       .     T  D    Blnk    T  I    ?        
    .                                       .                                      
    .                                       .                                      
    .                                       .                     O  D    +        
    .                                       .     O  I    (                        
    .                                       .                                      
    001   --010---+----+----+---030---+----+----+---050---+----+----+---070---+----
    NAME:(XXXXXXXXXXXXXXXXXXXX             (XXXXXXXXXXXXXXXXXXXX
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Mset  Exit  Test  Edit  --    -     +     Full  <     >     Let
    
  7. Insert the text FIRST NAME: into the line as shown below:

    Ob _                                    Ob D CLS ATT  DEL    CLS ATT  DEL      
    .                                       .     T  D    Blnk    T  I    ?        
    .                                       .                                      
    .                                       .                                      
    .                                       .                     O  D    +        
    .                                       .     O  I    (                        
    .                                       .                                      
    001   --010---+----+----+---030---+----+----+---050---+----+----+---070---+----
    NAME:(XXXXXXXXXXXXXXXXXXXX FIRST NAME: (XXXXXXXXXXXXXXXXXXXX
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Mset  Exit  Test  Edit  --    -     +     Full  <     >     Let
    
  8. Press PF3.

    The Edit Map menu appears.

  9. STOW map MAP003 by using the appropriate menu function.

You can now proceed with Invoking a Map with WRITE USING MAP.

Top of page