How to create an extract template

To create an extract template, perform these steps:

  1. From the Primary Option menu, select Extract (option 3.3). The Extract Entry panel is displayed.
  2. Enter details for the type of extract you want to perform:
  3. Select the Create extract template option on the Extract Entry panel and press Enter. FM/IMS displays the Extract Options panel.
    The Extract Options panel allows you to:
    • Create the extract template in foreground.
    • Edit the created extract template.
    • Generate keywords so the extract template can be created as a part of the batch extract job.
  4. On the Extract Options panel, enter details for these fields as required:
    Extract Template: Data set name
    This is a required field. Specify a fully-qualified or generic data set name that identifies the data set where the extract template is to be stored. If the member name is the same as any of the input IMS templates, then the data set must be a different name to the input template data set name.
    Extract Template: Member
    This field is the member name . Specify the name of a member of a partitioned data set for the extract template. If you leave this field blank or specify a member name pattern, FM/IMS displays a member name list. You can then select the required member by entering S in the select field for the appropriate member.
  5. On the Extract Options panel, select these options as required:
    Foreground
    Select this option if you want the extract template to be created in foreground. If selected, FM/IMS creates the template when you press Enter.
    Batch
    Select this option if you want your extract job to create the extract template. If selected, FM/IMS generates the keywords that the batch extract requires to create the extract template.
    Skip
    Select this option if you do not want to create an extract template.
    Edit extract template
    Select this option if you want to edit the template. When you select this option and the Foreground execution option, FM/IMS creates the template when you press Enter and then displays the Record Type Selection panel so that you can edit and save the template. FM/IMS only uses this field when the Foreground execution option is selected.
  6. Press Enter to perform the function as determined by the processing options and continue with the extract dialog, or press PF3 to return to the previous panel without performing the function.

Related topics