Sharing files to a new repository workspace

After you create files, you can share the files to a new repository workspace.

About this task

You can share an individual file in a data set by entering SN next to the file with the question mark (?) in the Source Control panel. You can also share all unshared files in a data set by entering SN next to the data set on the z/OS Data Sets panel. Whether you are sharing a single file or multiple files, the process of sharing the files is the same.

Procedure

  1. In the New Repository Workspace panel, enter a new repository workspace name and press the Enter key.
  2. In the next panel, enter a description, the visibility, and select the stream where the repository workspace flows and press the Enter key.
  3. In the Select Component panel, enter a forward slash (/) next to New component, enter a new component name, and press the Enter key.
  4. In the Select zComponent project panel, enter a new zComponent project name and press the Enter key.
  5. Enter a zFolder name on the Associate Data Set Definition panel.
    • Associate the zFolder with a new data set definition by entering a forward slash (/) next to New Data Set Definition. A new data set definition is created with the same name as the zFolder. If a data set definition exists with the zFolder name, the data set definition name is named with the zFolder name and a number, such as COBOL(2).
    • Associate the zFolder with an existing data set definition by entering a forward slash (/) next to the data set definition in the list.
    Press Enter.
  6. Specify zFile extensions and properties on the Specify zFile Extensions/Properties panel. You can enter the following items on the Specify zFile Extensions/Properties panel:
    1. Optional: Enter the extension for the file and press the Enter key.
      Note: File extensions are disregarded on z/OS computers. However, if you load zFiles to a computer with an operating system that uses extensions, a file extension helps ensure that an appropriate editor opens the zFile.
    2. You can enter a forward slash (/) in the file properties column to specify specific file properties for the file. If you are sharing multiple files at the same time, you can apply one set of file properties for all files. Enter a forward slash (/) next to Specify File properties for all files.
  7. If you entered a forward slash (/) in the file properties column of the Specify zFile Extensions/Properties panel, you can enter more properties in the zFile information panel:
    Code page
    To display the file in a particular code page in the Interactive System Productivity Facility (ISPF) client, set the code page in this field. The file is stored with the default code page of the repository, which is normally UTF-8. The file is converted to the local EBCDIC code page when it is transferred to z/OS. If the code page property exists and you want to delete the current code page property, enter a forward slash (/) next to Code Page.
    Binary mode
    To store the selected file as a binary file in the repository, enter a forward slash (/) next to Binary mode. The line delimiter file property is set to None (Binary) and the MIME Type property is set to application/unknown.
    Ignore Changes
    To not include this file during a dependency build as a change, enter a forward slash (/) next to Ignore Changes.
    Always Load
    To always load this file during dependency builds, enter a forward slash (/) next to Always Load. You do not have to load an entire repository workspace when you run a build. You can load only those files in the dependency set of the programs to be built. If a file you need is not a part of one of those dependency sets, select Always load during dependency build.
    User Variables
    To specify or change user-specified variables, enter a forward slash (/) next to User Variables. To specify or change file-specific values for a variable that is specified in a translator, enter a forward slash (/) next to User Variables. If a translator accepts a user variable to specify the TEST option on a compilation, set the user variable to turn on the TEST option for just this file.
    Language Definition
    • If there is an associated language definition for the file, the language definition is shown in the field.
    • If no language definition is associated with the file, but the file extension is registered in an existing language definition, that language definition is shown in the field.
    • If you want to select a language definition to associate with the file, enter a 1 in the action field to browse the available language definitions. On the Language Definitions List panel, enter a slash (/) next to the language definition to use when the build includes the file. Press the Enter key to add the language definition to the zFile information panel.
    • If you want to dissociate the language definition that is shown in the field, enter a 2 to clear the language definition. If the file extension is registered in an existing language definition, that language definition replaces the cleared language definition.
  8. When you finish entering properties in the zFile information panel, press F3 to process the properties. You can also press F12 to cancel the properties and return to the Specify zFile Extensions/Properties panel. If you shared the file but did not specify any file properties, the SCM column is blank when the screen reverts to the Source Control panel. The blank in the SCM column indicates that the file is under source control with no changes. However, if you added file properties, the SCM column contains an asterisk (*). The asterisk (*) indicates that you must check in the file property changes to the change set.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki