The mapping extension property of a data set specifies the extension that the Remote Systems view attaches to the name of a member that is uploaded to the data set from a local workstation. (For more about the properties of data sets see Properties for remote data sets and data set members in the Remote Systems view.) For example, if the value of the mapping extension property of a data set is cbl, then a member uploaded to the data set is given the extension cbl (for example, MAINMENU.cbl).
By default the Remote Systems view does not define a mapping extension for a data set having the low-level qualifier SRCLIB. (More specifically, the default value of the mapping extension for such a data set is Inherit from system mapping (undefined)). The result is that when the Generate Runtime Code wizard uploads a file (such as MAINMENU.cbl) from the local workstation to a data set having the low-level qualifier SRCLIB, then the Remote Systems view attaches no extension to the name of the new member (for example, MAINMENU).
Unfortunately, when a COBOL source file member of a data set has no file extension, problems can occur when you try to compile and link the member.
Therefore, when you create a data set with the low-level qualifier SRCLIB, you should also set the mapping extension of the data set to cbl. (Alternatively, you could rename each member after it is uploaded to the data set, so that each name has the extension cbl.)
To set the mapping extension to .cbl:
Select Properties. The Properties window opens.
Click OK.