Chapter 6. Introduction to File Export 117
6.4.1 Creating a repository
The first thing to note when creating a repository is the great number of data sets that File
Export will generate. To avoid overcrowding the available disk space, limit the number of
repositories.
Figure 6-8 gives an idea of the number of generated data sets per repository.
Figure 6-8 DSLIST of File Export repository
The repository contains records layouts: MVS, DB2, and IMS. Items of the same type can be
linked together in a global definition called a storage name.
You can start by loading data definitions and link them later in a storage. This process for
MVS data will be described in the following paragraphs.
For DB2 data, start by creating a storage name and then specifying the table definitions you
want to load from the DB2 catalog.
For IMS data, start by creating a storage name and then specifying the segment definitions
you want to load from the IMS library.
6.4.2 Load a data definition from a COBOL copybook
Start the File Export Repository management function, open the repository, display the list of
the existing data descriptions.
You can exclude from the display the default record types corresponding to data definitions
loaded from a DB2 DBRMDLIB or an IMS DBDLIB.
The process is the same for a PL/I include.
118 Supporting On Demand Business Applications with the IBM Problem Determination Tools
To load a definition from a copybook, start the parser p on the command line, as shown in
Figure 6-9.
Figure 6-9 List of existing data descriptions
Specify where the copybook is stored, as shown in Figure 6-10.
Figure 6-10 Name and type of the data description to import
Chapter 6. Introduction to File Export 119
A temporary copy of the data description is displayed, as shown in Figure 6-11. You can make
modifications, such as commenting groups.
Figure 6-11 Modified COBOL copybook
Note that you must follow the syntax rules of the source language.
File Export imports the definition as a record layout, as shown in Figure 6-12.
Figure 6-12 Corresponding record layout in File Export
Note that the fields are listed in alphabetical order.

Get Supporting On Demand Business Applications with the IBM Problem Determination Tools (APA, DT, DT with Advanced Facilities, FA, File Export, FM, WS) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.