Skip to content

MDCMS Admin Express Help

This is the MDCMS Admin Express Help for Change and Distribution Management from Midrange Dynamics. This reference document is intended for administrators using MDCMS within a 5250 emulator. The complete Admin Guide is available here.

Last Published: December 2, 2026

This guide is comprised of these sections:

MDCMS overview

MDCMS is a tool that runs directly on the IBM i (iSeries, AS/400) to handle the modification and distribution of objects.

The life cycle for object modification/distribution is as follows:

  1. The objects are requested for modification from the application's test or production environment. The source code is then copied to the programmer's library.
  2. The modifications are made to the source code within the programmer's library.

Or

  1. The objects are requested for migration from a delivered library.
  2. Any modifications are made within the delivered library.
  3. MDCMS compiles the source code and installs the source code/objects into the test environment. The prior source code or objects are archived.
  4. If higher-level environments exist on the system, the modification requests are automatically generated.
  5. Once testing is complete, the source code and/or objects are installed into the next environment.
  6. If working with multiple iSeries machines or partitions, the modification package can be distributed to those systems.
  7. The modification package is received on the remote system and installed into the application environments.

Starting MDCMS

  1. From a command line, type MDCMS and press Enter. If there are multiple instances of MDCMS an Environment ID parameter must be passed to the MDCMS command.

Setup Application Groups

The Application function defines application software into manageable groups for MDCMS. Full details can be found here for application groups.

  1. Select option 1 (MDCMS Setup) from the MDCMS Main Menu and press Enter.

  2. Select option 1 (Application Groups) from the MDCMS Setup Menu. The Application Codes screen will be received.

  3. Process F6 (Add).
  4. Input upto a 6 character Application Code in the Application Code field.
  5. Tab to the next line and input an Application Description.
  6. Input the starting number for new RFPs in this application. MDCMS will default this value, however it can be updated. MDCMS will ensure any number generated is not already in use.
  7. Automatically Reapply Constraints: Select Y/N.
    This value will default for all fields in the application and partition, and can be overriden for specific files.
  8. Automatically Reapply Journaling: Select Y/N.
    This value is the default for all files in the application and partition, and can be overridden for specific files.
  9. Automatically Reapply Triggers: Select Y/N.
    This value is the default for all files in the application and partition, and can be overridden for specific files.
  10. Allow RFP Compile Resume: Select Y/N.
    This flag determines what should occur if an exception occurs in an RFP during the Submit (bundle) phase, when multiple objects are on the RFP and the compile/validation process for at least one of the objects was successful.
  11. Auto-Merge RFP in Send List: Selct O(Optional)/Y/N.
    When a user requests to submit an RFP for promotion, MDCMS checks if any of the objects in the RFP are currently requested to be sent to other levels within open RFPs in the Send List. If any are found, this flag determines what should occur. If O is selected, the developer will be given the option to have the RFPs in the Send List auto-merge into the new RFP or to leave the existing RFPs separate.
  12. Auto-Merge Received RFP: Select Y/N.
    When an RFP is received, MDCMS automatically resolves object request conflicts using predefined rules. Depending on the conflict, objects may be received in unlocked mode, existing requests may be replaced, or RFPs may be merged or created separately based on the parameter value (Y or N).
  13. Auto-Delete LFs in Unmanaged Lib: Select Y/N.
    This value controls whether MDCMS automatically deletes unrequested logical files in unmanaged libraries that are based on requested physical files when an RFP is submitted for deployment. This typically applies to system-generated performance indexes.
  14. Auto-end Jobs Locking Files: Select Y/ N/ S(QSQSRVR/QZDASOINIT only).
    This value controls whether MDCMS automatically ends jobs that are locking files required for an RFP installation.

Update Object Description with:

  1. Attr/User Defined Attribute: Select Y/N.
    This value controls whether the MDCMS attribute value is automatically written to the installed object's user defined attribute.
  2. RFP #1/ Object Control Level: Select N(None)/ F(From)/ O(Origin)/ C(Current).
    This value controls whether the installed object is automatically updated with an RFP number and specifies which RFP number is stored in the Object Description's Object Control Level field.

The combination of the RFP types #1 and #2 make up position 8 of the Object Control Level. It is necessary to store this in the object because it designates the type of RFPs stored in the object. The types of RFP's being stored in objects could change for future stamping after some stamping was already done to some objects.

  1. RFP #2/ PTF: Select N(None)/ F(From)/ O(Origin)/ C(Current).
    This value controls whether the installed object is automatically updated with an RFP number and specifies which RFP number is stored in the Object Description's PTF number field.

  2. Appl, Level/ APAR: Select Y/N.
    This value controls whether an installed object is automatically updated the MDCMS Application and level in the object description's APAR.

  3. Proj, Task, Subtask/LICPGM: Select Y/N.
    This value controls whether the installed object is automatically updated with the MDCMS Project, Task and Subtask values in the object description's LICPGM fields. The format will be project-task.subtask. LICPGM consists of 2 7-character fields that are separated from each other on the screen, so if the value is more than 7 characters, it will be split between the 2 fields.
    If there are multiple tasks assigned to an object, the object's LICPGM will get stamped with the lowest task.

Setup Linked Applications

  1. Select option 1 (Application Groups) from the MDCMS Setup Menu.
  2. Input A (Linked Apps) next to your Base Application. Process Enter.
  3. Select the desired linkage option next to the appropriate application:

Linked = Y
The Application contains objects that reference objects in the Base Application indicated at the top of the screen. If an Application is linked, MDCMS will show the referencing objects when using the option Include Related Objects from the Object Manager for an object in the Base Application.

Inc Lib = Y Any temporary MDCMS Installation Libraries for Base Application RFPs will be included in the library list during the compile of objects for a Linked Application RFP. The libraries will be placed after the temporary libraries for the Linked RFP but before the rest of the library list.

Setup Promotion Levels

  1. Select option 2 (Promotion Levels) from the MDCMS Setup Menu.
  2. Process F6 to Add.
  3. Input Application Code in the Application field or Process F4 to select from the list.
  4. Input Install Level number. This is a maximum 3-digit numeric identifier.
  5. Input a Description for the level.
  6. Input Job Description or F4 to prompt and select from a list to be used for this application level.
  7. Next level: If objects that have been installed into this level are to be migrated to a higher level on the same system, then the number entered here identifies the level for the objects to be migrated to.
  8. Direct Migration: Select Y/N. This is typically used when the next level places the objects into the core (Production) libraries after having gone through user testing.
  9. Archive Generations: This is the default number of maximum archived copies to store for source, objects or data collections. A maximum of 99,999 are possible.
  10. Provide Indirect Src: Select Y/N.
    This value controls whether source is staged for indirect migration to the next level when source is not sent directly to that level.
  11. Based on Level: If multiple versions of the same application are managed, they are to be identified by level. The Based on Level represents the application version that existed prior to this level.
  12. Exist Only: Select Y/N.
    This flag is relevant when a Based on Level is defined.
  13. Resolution Required: Select Y/N.
    This value controls whether version conflicts in newer application levels must be resolved before an RFP can be submitted.
  14. Allow Checkout: Select Y/N.
  15. Allow Receipt: Select Y/N.
    This value specifies if objects may be received from another system into this level.
  16. Delta Object level: Select Y/N.
    The value specifies if only new or modified source (delta objects) are intended for this level.
  17. Delta Source Level: Select Y/N.
    The value specifies if only new or modified source (delta source) are intended for this level.
  18. Emergency Level: Select Y/N.
    This value specifies whether the level contains temporary emergency source or objects that should be automatically removed after they are installed into a standard level.

    • Y - Emergency source/objects may be automatically deleted when they are promoted to a later level and meet the configured deletion criteria.

    • N - Source/objects remain permanently in the level; the level is treated as a standard Delta level.

  19. Limit Archived Source: Select Y/N.
    This value controls whether the number of archived source generations is limited.

  20. Auto Assign at NxtLvl: Select Y/N.
    This value controls whether an RFP will be auto assigned to new object requests at the next level after object installation or if only object requests will be created and no RFP assigned.
  21. LevelCheck Warnings: Select Y/N.
    This value specifies if MDCMS should compare the file level ID in programs submitted for installation with the file level ID in this level.
  22. Auto Receive: Select Y/N.
    This value is used to specify if a Promotion sent from a Remote System will automatically be received and all objects to be received are automatically requested for this Level.
  23. Target OS Release: The value used for compile placeholder ##TGTRLS## to ensure that objects are created for the appropriate version for the target systems. *DSTQ - the oldest defined release in the distribution levels for the application
  24. Auto Submit: Select Y(Yes) / N(No) / S(After PL Snd Cls)/ W(After PL WF Accp).
    This value is used to specify if a Promotion will automatically be submitted once it is successfully received or is installed into a lower level.
  25. Auto Approve: Select Y(Yes) / N(No) / T(Approval Templates).
    This value specifies if a Promotion Level requires an approval before objects are installed into an Application Environment.
  26. Auto Launch MDRapid: Select Y/N.
    This value specifies if data copies for modified files should commence immediately after install approval is granted. This flag is ignored if MDRapid isn't required for the promotion.
  27. Auto Install: Select Y(Yes) / N(No) / R(No when MDRapid required).
    This value specifies when objects are installed into an Application Environment once the preparation and approval is complete.
  28. Auto Close Sent RFP: Select N(No) / S(Sent) / R(Rcvd wo Warnings)/ I(Inst wo Warnings).
    This value specifies if a Promotion will automatically be closed in the Send listing once a certain status has been reached.

Setup Attributes

The Attribute Maintenance function defines the destination of objects and source that are installed during the promotion process. Each destination for an Application/Level and Object (or source or message) type is uniquely identified by an Attribute. This attribute is then used for setting command definitions, object authority, etc… Extended detail for Attribute creation can be found here.

  1. Select option 3 (Attributes) from the MDCMS Setup Menu
  2. If creating new Attributes initially, process F9 (Generate Default Attributes). The Generate Standard Attributes screen will be received.
  3. Input Application and Level.
  4. Input Object Library where the objects will be stored.
  5. Input Object Authority Template to apply to the attributes. If none have been defined, it will default to *DFT400.
  6. Input Source Library or Directory where the source will be stored.
  7. Input IFS Source Authority Template to apply to IFS source folders. If none, this will default to *DFTIFS.
  8. Select N(No)/ S(Yes via System Catalog) / X(Yes, via MDXREF) for Check/Select Usage determines if and how the existence of objects matching a given attribute should be checked into the target library.
  9. Select Y/N to Update Existing.
  10. Input an Attribute Prefix or Suffix if desired to be placed at the end of each system attribute. If not, this will default to *NONE
  11. Filter by Object Category, Object Type or System Attribute, can be input to filter the list of what will appear on the next screen for selection.
  12. Input 1 next to each Object type to select the attributes to generate.Option W can be used for attributes pertaining to actual objects for further review of the contents of the object library.
  13. Process Enter after all selections are made.
  14. Verify the selections and modify the properties for specific attributes.
  15. Process Enter to complete the attribute generation.

Once all attributes are set for a given promotion level, the easiest way to propogate those settings to another promotion level on the same system is to copy the Promotion Level. The Copy Attributes Settings screen will automatically appear as part of the copy process. Update the libraries appropriately for the new level. The Update Attribute Templates will also automatically appear. Update if required and process Enter to complete the copy.

Setup Commands

The Attribute Command displays are used to define the command defaults that are used to compile and manage objects. Each Application Group/Level/Attribute that requires a default command should be defined here. Default commands may also be defined to run for each promotion of objects, regardless of the types of objects in the promotion package.

Extended detail on commands can be found here.

  1. Select option 4(Commands/Scripts) from the MDCMS Setup Menu.
  2. Default Commands that were created will appear on the MD Default Command Maintenance screen.
  3. Process F6 from the MD Default Command Maintenance screen to add a new command. The following fields are required to create a new command: Application, Level, Attribute, Type, and command. Process Enter to save the new command.
  4. Process F7 from the MD Default Command Maintenance screen to view or add a new Object command.
  5. To add a new command process F6 from the Reusable Object Commands screen. The following fields are required to create a new command: Application, Level, MDCMS Attribute, Object Name, Type, and command. Reason will default to C(Create), but can be changed to D(Delete) or U(Update). Process Enter to save the new command.
  6. Process F8 from the MD Default Command Maintenance screen to view the Description field for each command listed.
  7. Process F9 from the MD Default Command Maintenance screen to Add a new RFP command.
  8. Select the Application Level from the Add RFP Commands screen.
  9. Select the RFP Command type.
  10. Process Enter. The default command will appear on the MD Default Command Maintenance screen. This can be customized if needed using option 2 to edit.
  11. Process F10 from the MD Default Command Maintenance screen to view or add new attribute scripts.
  12. Process F6 from the Attribute Scripts screen to add a new Attribute Script. The attribute used for this must be object type *IFS, *PIPE, or *REMOTE. The following fields are required: Application, Level, Attribute, Type and Script Folder.
  13. Process F7 on the Attribute Scripts screen to add a new Reusable Object Script.
  14. Process F6 on the Reusable Object Scripts screen. The following fields are required: Application, Level, MDCMS Attribute, Object Name, Relative Path, Install Phase and Script Folder.
  15. Process Enter to save the new script.

Setup Data Copy Templates

A Data Copy Template defines a set of libraries for the copying of data from one environment to another. This is typically used to refresh test libraries with some or all data located in production libraries, without losing format and object changes made in the test environment.

Full instructions for Data Copy Templates are available here.

  1. Select option 5(Templates) from the MDCMS Setup Menu.
  2. Select Option 21 (Data Copy).
  3. Process F6(Add) on the Data Copy Templates screen.
  4. Input a Template name, up to 10 characters long.
  5. Input a Description for the Template.
  6. Input the number of jobs to be started by default when a data copy is executed. The valid range is between 1 and 9.
  7. Input the Default Job Queue where the data copy jobs will be submitted.
  8. Input the Default Library where the job queue object exists.
  9. Process Enter
  10. Process F6(Add) to add the library mapping for the template.
  11. Input the following information as it applies to the template:
    • From Location
    • From Library
    • Target Library
    • Sort Sequence
    • Omit by Default (Y/N)
    • Disable Journal (Y/N)
  12. Process Enter
  13. Input Option 2(Edit) to make changes to the template.
  14. Input option O(Objects) to view the objects associated with the template.
  15. Input option V(Validate) to execute the template in validation mode. This will validate the connectivity, authority and SQL syntax, but no data will be actually be copied.
  16. Input option X(Execute) to prompt to execute the data copy.

Setup Field Procs to Auto Reapply

Field Procs to Auto Reapply Templates defines the criteria MDCMS uses to automatically reapply Field-Level Procedures (Field Procs) when a table is modified and deployed. If a Field Proc matches the template criteria, MDCMS automatically restores the Field Proc definitions before copying existing data to the new table version, ensuring data continues to be processed consistently (such as encryption). When used with MDRapid, Field Proc processing occurs while the application remains active, helping minimize deployment downtime. Extended detail for Field Procs can be found here

  1. Select option 5(Templates) from the MDCMS Setup Menu.
  2. Select option 22(Field Procs to Auto Reapply).
  3. Process F6(Add) to create a new Field Proc Template.
  4. On the Add Field Proc Template screen, input Template Name.
  5. Input a template Description.
  6. Select Y/N to Ignore Errors.
  7. Input specific values the following fields to Automatically Reapply Field Proc, otherwise the values will default to *ALL:

    • Program Library
    • Program Name
    • File Library
    • File Name
    • Field Name
  8. Select Y/N to Reapply when Field Length or Type is different in New Version of File.

  9. Process Enter

Setup Developer Library Naming Templates

By default, developer libraries/folders are named after the developer's user profile and can be defined by user and level. To use shared development libraries based on a Project, Task, Subtask, RFP, or other entity, create a Developer Library Naming Template and assign it to the appropriate levels. Extended detail for Developer Library Naming Templates can be found here.

  1. Select option 5(Templates) from the MDCMS Setup Menu.
  2. Select option 23(Developer Library Naming)
  3. Process F6(Add) from the Developer Library Naming Templates screen.
  4. Input a specific application or *ALL in the Application field.
  5. Input a specific level or 0 to indicate any level.
  6. Input a template description.
  7. To select a specific library naming pattern for Objects, process F7(Insert Placeholder) next to Objects. Input option 1 next to each desired Placeholder and process Enter.
  8. Source will default to *SAME, which will use the same specifications named for the library Objects.
  9. Select Y/N for When Task is Closed, Auto-Delete Library.
  10. Select Y/N for Auto-Delete Folder.
  11. Select an Authority Template to be used for new Libraries if required. MDCMS will default to *USER and the user of the job will be the owner of the library.
  12. Select an Authority Template to be used for new Source files if required. MDCMS will default to *USER and the user of the job will be the owner of the source file.
  13. Input an ASP device for new libraries if something other than *SYSTEM is required.
  14. Select an Authority Template to be used for new Folders if required. MDCMS will default to *USER and the user of the job will be the owner of the folder.
  15. Select Y/N for each of the following for Require at Checkout:
    • Project
    • Task
    • Subtask
    • RFP
  16. Process Enter.

Setup Object Approval Templates

Object Approval Templates provide a means of defining which groups of users must approve an RFP, before the RFP can be installed. Object Approval Template assignments are done at the Object level rather than Attribute level in order to allow for finer granularity. Extended detail for Object Approval Templates can be found here.

  1. Select option 5 (Templates) from the MDCMS Setup Menu.
  2. Select option 24 (Object Apprvals) from the MDCMS Template Menu.
  3. Process F6 (Add).
  4. Input a Template ID, upto 10 characters.
  5. Input Template Description, upto 50 characters.
  6. Select G=Group or U=User for Business Owner Type.
  7. Input or use F4 to prompt the User or User Group for the Business Owner and select according to the Business Owner Type. .
  8. Select an option for Allow *ANY/*gen* Values:
    • Y = the Object Name, Object Type and/or Target Library Folder values for object assignments may be set to *ANY or have a generic value using *value* in order to assign entire groups of objects to the template based on a naming pattern.
    • N = the Object Name, Object Type and Target Library Folder values must be for a specific object
  9. Select an option for Allow no Approvers:
    • Y = Objects can be assigned to the Template if no Approval Groups are defined for the Template. This means that any such objects on an RFP will be automatically approved for installation.
    • N = Objects can't be assigned to the Template until at least 1 Approval Group is defined for it.
  10. Select an option for Require Recomp Approval:
    • Y = Objects requested for recompile (or Update) will require approval for installation.
    • N = Objects requested for recompile (or Update) will be automatically approved for installation.
  11. Select an option for Require Delete Approval:
    • Y = Objects requested for deletion will require approval for installation.
    • N = Objects requested for deletion will be automatically approved for installation.

Setup Approval Groups for an Object Approval Template

Approvers for Approval Templates are managed from the Object Approval Template screen. Multiple Approval Groups can be added to an Approval Template. One member from each group will be required to approve the installation of an RFP if one or more objects o the RFP are assigned to the Template.

  1. Input A = Approvers next to the Approval Template and process Enter.
  2. Process F6(Add). The Add group to Approval Template screen is received.
  3. Select an Approval Group by process F4 to prompt. The MD User Groups screen will be received. Use option 1 to select an existing MD User group or F6 to add a new group.
  4. Input the application(s) that require the group approval. Use *Any for any application to require the approval. If multiple specific applications are required, a group record will be required for each one.
  5. Input the Level or specify *ANY.

Setup Assigned Objects for an Object Approval Template

  1. Input option O = Objects next to the Object Approval Template.
  2. Process F6(Add). The Add Object to Approval Template screen will be received.
  3. Input or F4 to Prompt on the Object Type based on MDCMS Attribute types. If the Template allows *ANY/*gen* values, *ANY can be used to indicate any type of object.
  4. Input or F4 to Prompt on the Object Name. If the Template allows *ANY/*gen* values, *ANY can be used to indicate any object name and *val* can be used for naming patterns for the object.
  5. Input the Application group that the object belongs to. If the Template allows *ANY/*gen* values, *ANY can be used to indicate any application. Generic naming patters are not allowed for the application.

Setup IBMi Locations

The IBMi Locations define all locations where MDCMS should connect to for the distribution of settings and promotions, or for data connections to synchronize project, RFP and MDWorkflow information and perform remote retrieval of source or MDXREF information. Extended detail for IBMi Locations can be found here.

  1. Select option 6 (IBMi Locations) from the MDCMS Setup Menu.
  2. Process F6 (Add). The Add Location screen is received.
  3. Input Location ID. This ID must match the Location ID entered in the systems settings on the target system. A value of LOCAL can be used to maintain Workflow, source comparison and local branch distribution settings.
  4. Input a Description.
  5. Input Database Name. This is the DB/400 database containing MDCMS at the remote location.
  6. Input DRDA Port to be used on the remote system for handlind DDM service requests.
  7. Input Secure Connection (*NONE, *SSL, *TLS).
  8. Select Y/N for Loc Active. This indicates if connections should be attempted at the location.
  9. Input the number of MDPUSH Jobs.
    Specify a value from 1-9 to assign the location to an MDPUSH job when DDM connectivity is available. For a few locations, use one push job. For many locations, distribute them across multiple MDPUSH jobs running in parallel.
  10. Input number of MDPULL jobs.
    If DDM connectivity is available only from the local system to the location, specify a value from 1-9 to assign the location to an MDPULL job for asynchronous data retrieval. Use a single pull job for a small number of locations; for larger environments, distribute locations across multiple MDPULL jobs running in parallel. Push processing is preferred for performance and administration, but pull processing can be used when one-way DDM connectivity is required.
  11. Select Y/N Stage Data.
    This will be used if the location needs to use an MDPULL job to retrieve the data.
  12. Select Y/N MDWorkflow Rep.
    Set this value to Y if the location hosts the repository used by the MDWorkflow web application. When enabled, additional data is distributed to the location to ensure all required information is available in MDWorkflow.
  13. Input MDWorkflow Sort# sequence for each location to be viewed from within MDWorkflow if the local system contains the MDWorkflow repository.
  14. Select Y/N for Source Retrieval.
  15. Input Remote User and Password. This ID is to be used on the remote IBMi in order to process synchronizations or source retrieval.
  16. Input the UTC Offset. This is the difference in time between the local time of the location and UTC standard time.
  17. Process Enter. Receive the Distribution Settings for Location screen.

Distribution Settings for Location

  1. Input the Distribution Method or process F4 to select from the list of options. This will be the method to distribute an RFP or Settings from this partition to another partition.
  2. Input Distribution Address. *LOCADR can be used if the DDM address is the same as the distribution address.
  3. Input the MDSEND Job# if the selected distribution method will transfer RFPs to a remote location. Assign a value from 1-9 to identify the MDSEND job used for asynchronous RFP transfers. Parallel save file creation and transfer processing reduce distribution time to multiple locations. The number of MDSEND jobs started in Services Settings should match the highest MDSEND job number defined in the location settings.
  4. Input Target Release (*CURRENT/ *PRV/ VxRxMx). This is the operating system that is currently installed on the destination system.
  5. Select Y/N for Data Compression.
    This flag indicates if data should be compressed before sending.
  6. Select one of the following options for When to Send to determine when and whether to send an RFP to the target level:
    • M - M(Manual)/T(Trigger) - Send by default
    • A - Automatic after Install
    • G - Automatic when all Gates open
    • N - Manual only - Don't send by default
  7. Input Object Owner to name the owner of the Temporary Library and Objects that are saved in the Save File.
  8. Input Public Authority or process F4 to select from the list of values. This will be the object authority granted to PUBLIC for the objects saved into the Save File.
  9. Select Y/N for the following Default Target Attribute Rules.

    • Send Objects for Attributes containing Source
    • Send Objects for Attributes not containing Source
    • Send Source for Modifications (Can specify D=Database only)
    • Send Source for Recompiles
    • If not sending Source, Send Request for *SOURCE Objects
    • Send *DATA or *DTAGRP attributes
    • Send *MODULE attributes

    Info

    These values must also have corresponding selections (Options S=Source, O=Object or B=Both) on specific attributes defined under the Specifications for Target Attributes screen.

  10. Select Y/N for Send Disabled Commands to send Object Specific or RFP Specific commands that have been disabled.

    Note

    MDCMS will disable any Object-Specific pre-compile, compile and post-compile commands in a send package when either the local attribute has source but is not sent or both the source and object are sent.

  11. For additional setting requirments dependent on the distribution method, see the full IBMi locations manual.

Source Comparison Settings

Once locations are defined, source comparisons can be requested from the IBMi Locations screen.

  1. Input C=Src Comp next to the location and process Enter.
  2. Appl/Level will show each Application Level that has been defined in MDCMS.
  3. Input Compare to Level for the environment that the checked out source should be compared to for each desired Appl Level.

User Mapping

User mapping can be used to define how the sender's user ID on the local system maps to the receiving user ID on the target system, enabling automated receipt when user names differ between systems or when RFP responsibility is assigned to a different user.

  1. Process F6 to add Local User. Use *DFT to invoke for any profile not explicitly defined. Otherwise, input a valid User ID.
  2. Input Target User. *SAME if the target User ID is the same as the local user ID. Otherwise, input the valid User ID on the target system.

Change Password for MD Locations

MDCMS command MDLOCPWD can be used to change passwords systemically for the user defined MDCMS OS/400 location DDM Remote User and/or MDCMS OS/400 Location FTP Connection User.

Setup Distribution Levels

Distribution Levels define the target levels for distribution of promotions or settings to remote systems. Extended detail for Distribution Levels can be found here.

  1. Select option 7 from the MDCMS Setup Menu to receive the Distribution Levels screen.
  2. Process F6 (Add) to receive the Add Distribution Levels - Select Promotion Levels screen.
  3. Input option 1 to select the Application Promotion Level. The Add Distribition Levels - Select Locations screen is received.
  4. Input option 1 to select the Location and process Enter.
  5. Select option 2 (Edit) on the Distribution Levels screen next to the Distribution Level to receive the Edit Distribution Level screen.
  6. The Edit Distribution screen will display the settings defined under Distribution Settings for Location. These options can be overriden at each Distribution level.
  7. The following fields not inherited from the Distribution Settings for Location that must be reviewed are:
    • Ignore Non-Branch - Select (Y/N)
    • Local Dist Reason - Select one of the following:
      • S - Standard
      • D - Database Sync
      • M - Merge with Trunk
      • N - Non-Git Requests
  8. Local Auto-Sumit - Select (Y/N)

Setup Source/Object Types to Send to a Target Level

Each target location must have specifications on what is sent to the target based on the attributes for that level.

  1. Input A next to the Application and Level on the Distribution Levels screen and process Enter. The Specifications for Target Attributes is received.
  2. Select one of the following options for each Target Level Attribute to define what is to be sent to the target level for that attribute:
    • S = Source
    • O = Object
    • B = Both
    • N = Neither
    • R = Request Only

Setup Object Overrides for Target Levels

When an attribute is defined to send the Object to the target location, MDCMS provides the ability to override the library or folder from where the object will be distributed from.

Info

Examples of when object overrides can be helpful:

  • Each location has its own properties file for a web application.
  • Each location has its own configuration data for a system application


  1. Input option O (Obj Override) next to the Application and Level that will have the object override and process Enter.
  2. Process F6 (Add) on the Distribution Overrides screen.
  3. Input the Object Type or process F4 to prompt and select from the list. Note: *REMOTE, *DUMMY, or *MSGD are not relevant object types for overrides.
  4. In the Attribute Library/Folder field, input the object library or folder where the object is pulled from normally.
  5. In the Object Name field, input the specific object name or *ALL if any object in the RFP the library/folder should be overriden.
  6. Input the location that should be distributed from instead. If the object (or source) does not exist in the location at the time of the send, it will be sent from the normal location instead.

Manage License Keys

To view and/or manage license keys select option 9 from the MDCMS Setup Menu. For full details see Manage and Apply MD License Keys.

Configure System Settings

The System Settings page is used to define system specific titles, users, and defaults that will be used for a particular MDCMS instance.

See System Settings page for additional details.

  1. Select option 11 from the MDCMS Setup Menu
  2. Input the Location Title. This information will be displayed on most MD Product screens to help the user identify which system they are working on.
  3. Input the Location ID to uniquely identify the system.
  4. Input the Send Prefix to uniquely identify distributions from this system.
  5. Input MD Service Profile to identify the technical user profile on this system to be used to run MDCMS service jobs.

  6. If the user profile doesn't have the *ALLOBJ special authority, then the following commands should be run once when there are no locks on the product libraries.
    If MDCMS is installed on an ASP device, then prefix the path with the name of the device.
    Replace service user id with the ID of the service user.

    • CHGAUT OBJ('/QSYS.LIB/MDCMS.LIB/*') USER(service user id) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*NONE)
    • CHGAUT OBJ('/QSYS.LIB/MDREP.LIB/*') USER(service user id) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*NONE)
    • CHGAUT OBJ('/QSYS.LIB/MDSEC.LIB/*') USER(service user id) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*NONE)
    • CHGAUT OBJ('/QSYS.LIB/MDXREF.LIB/*') USER(service user id) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*NONE)
    • CHGAUT OBJ('/QSYS.LIB/MDCMS.LIB/*') USER(service user id) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*NONE)
    • CHGAUT OBJ('/MDCMS') USER(service user id) DTAAUT(*RWX) OBJAUT(*ALL) SUBTREE(*ALL)

The MDINSSAVF command will automatically run these commands for future updates to the product.

  1. Input the Java Version with the Java Virtual Machine version to be used by the MDCMS java routines or process F4 to select from the list of available versions.
  2. A hash signature is created for each IFS/Remote file and all source code during the bundle phase of an RFP.
    Select Y/N on Sign Objects to determine if approval is required for objects when the hash signature on an IFS/Remote file differs from what is expected
  3. Input CCSID to identify the characters to use by default when communicating with this system using MDOpen or MDWorkflow.
  4. Input Internal Task Ref Label to be used on the Internal Reference field in MDCMS, MDOpen and MDWorkflow.
  5. Input Temporary Library Prefixes for the following to be used to identify each type of temporary in MDCMS:

    • RFP Backup (Ex. ENU)
    • RFP Installation (Ex. ENI)
    • RFP Receipt (Ex. ENT)
    • RFP Rollback (Ex. ENB)
  6. Input the number of days for Backup Library Retention. Note:The latest MD Build Date and MD Installation Date will be shown at the bottom of the System Settings screen.

  7. Process F8 (Patch History) to receive the Patch History for Current Build screen. All patches that have been applied since the last full installation will appear and can be reviewed or managed with the following options:

    • Option 5(View) to view details about the patch
    • Option O(Objects) to view the list of objects in the patch
    • Option R(Rollback) to roll back the objects in the patch to the prior version

Interface Settings

The Interface Settings menu provides options for configuring how MDCMS connects with third-party products. It also contains settings for the REST service APIs that MDCMS provides for exchanging information with external tools.

  1. Select option 10 from the MDCMS Setup Menu. The MDCMS Interface Settings screen will be received.

  2. Select option 1 to seutp integration, or view current configurations, with Jira. This integration allows for task information to be shared between Jira and MDCMS. See full instructions here.

  3. Select option 2 to setup integration, or view current configurations, with ServiceNow. This integration allows for task information to be shared between ServiceNow and MDCMS. See full instructions here.

  4. Select option 3 to setup integration, or view current configurations, with Synon/2E. This integration allows the ability to request source and objects for modificaiton and deployment directly out of Synon/2E models. See full instructions here.

  5. Select option 9 to configure the HTTP Servers.

  6. Process F6(Add). The Add an MD HTTP Server screen will be received. There are two types of HTTP Servers to configure:
    • Option 1 = MDCMS API Server (Apache). See full instructions here.
    • Option 3 = MDOpen for Web Server (Apache). See full instructions here.

Note

An MDCMS API server is a pre-requisite for using MDOpen.

Job Settings

The Job Settings screen defines where jobs submitted by MD products run. To create subsystems or job queues from this screen, a minimum of change authority to CRTSBSD or CRTJOBQ commands is required. See full details here.

Tip

It is highly recommended to have a separate subsystem with its own set of job queues for MDCMS.

  1. Select option 12 from the MDCMS Setup Menu. The MD Job Settings screen will be received.
  2. Subsystem/Library: Input or process F4 to select existing or create new, the subsystem name and library of the subsystem that will be used by default for MD jobs.
  3. Job Description Library: Input or process F4 to select existing, the library where job descriptions will be stored. Job Descriptions are used in MDCMS per promotion level for the batch jobs to deploy objects.
  4. Job Queue Library: Input or process F4 to select existing, the library where job queues will be stored.
  5. MD Report Job Queue/Library: Input or process F4 to select existing, the name and library of the job queue taht will be used by submitted jobs that create report output in MDCMS, MDSEC and MDXREF.
  6. MD Service Job Queue: Input or process F4 to select existing, the name and library of the job queue that will be used by submitted MD Service Jobs defined in Service Settings.
  7. MDOpen/MDWorkflow Job Queue: Input or process F4 to select existing, the name and library of the job queue that will be used by submitted jobs that are used to communicate with MDOpen or MDWorkflow client session.
  8. MDXREF Build Job Queue: Input or process F4 to select existing, the name and library of the job queue that will be used by submitted jobs that are used to refresh the cross-reference information in MDXREF.

Logging

MDCMS provides logging across services and provides an overview of all logs through the MDCMS Log Maintenance screen.

  1. Select option 14 (Logging) from the MDCMS Setup Menu to receive the MDCMS Log Maintenance screen.
  2. Select one of the following options next to a log file:
  3. Option 2(Edit) to update/change if the log is purged and the minimum age in days before purge.
  4. Option P(Purge). This will immediately delete all records for the log file older than the minimum days set.
  5. Option Q(Query). This allows viewing of the current contents of the log.

User Groups

User groups can be configured to provide the ability to create and manage collections of users for sending emails, project assignments and MDWorkflow.

  1. Select option 15(User Groups) from the MDCMS Setup Menu.
  2. Process F6(Add) to add a user group.
  3. Input a 10 character Group name.
  4. Process F4 on Group Type. Receive the User Group Types screen. If MDWorkflow is used, group types can be assigned to promotion levels to indicate which category of groups must accept an RFP before that RFP can continue to the next step in a migration path.
  5. Process F6(Add) a Group Type. Receive Add Group Type screen.
  6. Input a Group Type name.
  7. Input the Group Description. Process Enter Confirm.
  8. Input option 1 to select the Group Type.
  9. Input User Group Description.
  10. Select Y/N for Default Group.

Acceptance Group Types

If MDWorkflow is licensed, MDCMS can be configured by any user with MDSEC code 73, with Acceptance Group Types per promotion level. This allows a specific group, or multiple groups, to be defined per promotion level that would require an acceptance by a user from each defined group before an RFP can be installed into the promotion level.

The groups are assigned to the project(s), so different projects can use different groups of users for any group type.

  1. Process F9 (Acceptance Group Types per Level) from the MD User Groups screen.
  2. Process F6(Add) on the Acceptance Group Types per Level screen.
  3. Select one or more Application levels and process Enter. Receive the Add Group Type to Levels - Select Group Types screen.
  4. Use option 1 to select one or more Group Types and process Enter.

Project Costs

The Project Costs settings define the hourly cost rules used for Projects, Tasks, and Subtasks. When time is entered, MDCMS evaluates the project type, task type, phase, and user against the cost rules in sequence. The first matching rule determines the hourly rate used to calculate the entry's cost and update the accumulated costs for the associated project, task, and subtask.

  1. Select Option 16 (Project Costs) from the MDCMS Setup menu.
  2. Process F6(Add) on the Project Costs screen.
  3. Input a Project Type or process F4 to prompt from the list of available projects. *ANY will apply to all project defined.
  4. Input a Task Type or process F4 to prompt from the list of available task types. *ANY will apply to all task type defined.
  5. Input a specificc Project Phase or process F4 to prompt from the list of available Project phases. *ANY will apply to any project phase defined.
  6. Input a User or process F4 to prompt from the list of available users. *ANY will apply to any user defined.
  7. Input the Sort Sequence. This is sequence of the cost rule in relation to other rules in ascending order.

Push Settings

MDCMS and MDXREF settings can be pushed (copied) to any or all defined locations that allows DDM connectivity. This function allows for defined settings such as, attributes, commands, and templates, to easily be kept in synch by eliminating the need for manual creation across locations. Multiple Push Setting definitions can be defined to allow for granularity of what information is being pushed. See full details here.

  1. Select option 17 (Push Settings Data to Locations) from the MDCMS Setup Menu
  2. Process F6(Add) from teh Push Settings Data-Definitions screen.
  3. Input the following parameters to define the push setting:
    • Application = Application name or *ALL
    • Level = Specific level or 00 for all levels
    • Attribute = specific attribute, *ALL (any level placeholders will also be pushed), *NONE, *generic* (use * as a placeholder to filter the attributes by a name pattern)
    • Target level = Specific level on the remote system or 0 to indicate the same value as the local level
    • Select Y/N on the following parameters:
      • Include RFP Commands
      • Include MDXREF Libraries
      • Include Source Libraries
      • Include Compile Cmds
      • Include Scripts
      • Include Auth Templates
      • Include Replic Templates
      • Include Search Templates
      • Include Delete Templates
      • Include Rapid Templates
      • Update Existing Data
      • Delete Undefined Data
    • Target MD Environment = *DFT is the instance of MDCMS on the target system that does not include a suffix, or input the specific MDCMS instance.
  4. Process Enter. The newly defined Push definition will appear on the Push Settings Data - Definitions screen.
  5. Input L(Locations) next to the defined setting and process Enter.
  6. Select one or more locations to push the information to and process Enter to submit the push job to batch.

Send Settings to Remote System

Attributes can be sent to Remote Locations using the distribution methods, such as FTP, defined for the locations that were configured using MDCMS Setup Menu Options 6 & 7. When the send is used, the settings must be received from the remote location.

  1. Select option 18 (Send Settings to Remote Systems) from the MDCMS Setup Menu.
  2. Input the Application Name and level or process F4 to prompt and select from the list.
  3. Input one of the following options to indicate the desired Attribute to be sent:
    • *ALL for all attributes for the application and level specified
    • A specific attribute
    • A portion of an attribute name (ex. R* to send all attributes that begin with an 'R')
    • *RFP for only *RFP command types
  4. Process Enter to receive the Send Settings to Remote Systems screen. Input '1' next to select the location to send to.
  5. Process Enter to complete the send.

Receive Settings from Remote System

If attributes were sent using option 18 from the MDCMS Setup Menu, this package must be received on the remote system.

  1. Select option 19 (Receive Settings from Remote System) from the MDCMS Setup Menu
  2. Process F4 to prompt the MD filename.
  3. Input option 1 next to the file to select or option 4 to delete the package. Process Enter.
  4. If a package was selected, the Receive Settings screen will be received with the package populated.
  5. Validate the Transmitted via type is correct.
  6. Process Enter.
  7. See full details on each transmition type here.

Create Config Deployment Settings

An application can be created to serve as the primary administrative utility for managing the MDCMS product. The application will provide the capabilities required to install new software versions, apply patches and maintenance updates, administer license keys, and maintain product configuration settings. Administrators can generate this application, which defaults to MD for the application name, by selecting Setup Menu Option 20. This option executes the MDCRTSET command. See full details on setup here.

Create MDCMS Configuration Report

An MDCMS configuration report can be generated that will produce an excel file containing the base configurations within MDCMS.

  1. Select option 21 from the MDCMS Setup Menu
  2. The File Name will be defaulted. This can be updated if needed.
  3. Select one of the following Export options:

    • 1 = Copy to IFS
    • 2 = Email
    • 3 = Both
    • If copying to IFS, input the path in the Copy to Folder field.
    • If emailing, the report can be emailed using a specific email address, a registerd MDSEC user ID or an MDCMS email group.
    • See additional detail here.

!!! Note: It is highly recommended to create the MDCMS Configuration Report from MDOpen for VS Code, 8.6+ or MDOpen for RDi 8.7+, as there are many more configuration settings reported on and the report generation is substantially faster.