MDSRC2IFS - Convert Source Members to IFS Files
The Convert Source Members to IFS (MDSRC2IFS) command provides the ability to copy some or all members in a source file to various IFS folders depending on the source type.
When the command is executed, you will be shown a list of each distinct source type in the source file and given the option to select or omit each type for copying as well as to specify the preferred IFS file type and a subfolder for each
type.
Restrictions:
- The command must be run interactively from a command shell within MDCMS
- The user performing the command must have authority to edit promotion levels (MDSEC code md/4)
MDSRC2IFS Parameter Table
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Title | Type | Description |
| Source Library | CHAR | The library containing the source file |
| Source File | CHAR | The source file containing members to copy to the IFS |
| Parent Path | CHAR | The full path name from the IFS root for the parent folder that the members will either be directly copied to or that will hold subfolders for the source. |
| CCSID of IFS file | CHAR | 1208 (default) - the CCSID of the IFS file will be UTF-8. This is recommended if the source will then be imported into a Git repository. *CCSID - A CCSID in the Microsoft Windows encoding scheme character-value - any CCSID value that is accepted on the CPYTOSTMF STMFCCSID parameter |
| IFS Authority Template | CHAR | Specifies the MDCMS Object Authority template of type *IFS that contains the authority definitions to apply to each generated IFS file and each created folder. *DFTIFS (default) - The template of name *DFTIFS will be applied character-value - an existing Object Authority Template of type *IFS |
| Replace Existing | CHAR | Specifies if an existing IFS file should be overridden. *NO (default) - If the IFS file already exists, it won't be replaced by a new copy of the source member. *YES - the member will be copied to the IFS file, even if it already exists |