Changing and Adding Definitions for Physical and Logical Saved Segments

A physical saved segment is a DCSS or member saved segment that contains CMS logical saved segments. A logical segment definition file (default file type LSEG) must exist for each logical saved segment to be loaded into the DCSS or member saved segment. VMSES/E-format products that define their saved segments as logical saved segments should supply the LSEG files. If you need to define any new logical saved segment definition files, or if you need to change the definition of an existing logical saved segment, see Planning and Defining CMS Logical Saved Segments.

Note: Do not create a physical segment definition file (default file type PSEG) to identify the LSEG files. When PUT2PROD calls the VMFBLD EXEC to build the saved segments, VMFBLD creates the PSEG file before calling the SEGGEN command to build the physical and logical saved segments.
  1. If you are not already in a VMFSGMAP session, enter the following command to display the full Segment Map panel:
    vmfsgmap segbld esasegs segblist
    For detailed information about VMFSGMAP panels, see the description of the VMFSGMAP EXEC in the z/VM: VMSES/E Introduction and Reference.
  2. On the Segment Map panel, move the cursor to the map record for the DCSS or member saved segment in which you want to define, update, or remove CMS logical saved segments.
    Note: If the physical saved segment does not already exist, follow the directions in Adding a DCSS or Member Saved Segment to create a new DCSS or member saved segment definition to work with.
  3. Press PF4/16 (Chg Obj) to display the Change Segment Definition panel.
  4. Change the definition of the saved segment as appropriate:
    1. Make sure that the first range defined in the DEFPARMS field is large enough to contain all of the CMS logical saved segments to be defined in the physical saved segment. You cannot define logical saved segments in noncontiguous storage.
    2. Make sure that the TYPE field contains the keyword PSEG, indicating that the saved segment is a physical saved segment containing logical saved segments.
    3. Add or change the information in the BLDPARMS field to indicate the logical saved segments to be included in the physical saved segment. Use PF4/16 (Add Line) to add lines to the field for new entries. An entry with the PPF keyword points to a product parameter file where one or more logical saved segments are defined. An entry with the PROD keyword contains the definition for one logical saved segment. The BLDPARMS field may contain combinations of these entries.
      For example, suppose you want to combine the CMSPIPES logical saved segment, the CMSFILES logical saved segment, and your own logical saved segment called MYSEG into a single physical saved segment called CMSSEG1. Currently CMSPIPES and CMSFILES are contained in separate physical saved segments, each with its own definition. Create a new definition for CMSSEG1. Make sure that the range you define in the DEFPARMS field is large enough. Enter the following information into the BLDPARMS field:
      BLDPARMS...:  PPF(ESA CMS DMSSBPIP)
                    PPF(ESA CMS DMSSBSFS)
                    PROD(LSEG MYSEG)
      Make sure that you also delete the existing definitions for CMSPIPES and CMSFILES.
  5. Press PF5/17 (Map) to return to the Segment Map panel, which is refreshed to show your changes, or press PF12/24 (Cancel) to discard your changes and return to the Segment Map panel.
  6. Review the updated segment map to make sure that the new saved segment layout is correct.
  7. If the new layout is not acceptable, repeat the previous steps to make adjustments, or press PF3/15 (Exit) to discard the changes and exit the map.
  8. If the new layout is satisfactory, press PF6/18 (Save) to record the changes and remain in the map to do other tasks, or press PF5/17 (File) to record the changes and exit the map.
  9. After completing the VMFSGMAP session, use the PUT2PROD EXEC to actually build or delete the saved segments. See Building or Deleting (Purging) Saved Segments.