WebSphere logo Classic Federation Server for z/OS, Version 9.1
WebSphere logo Classic Replication Server for z/OS, Version 9.1
WebSphere logo Classic Data Event Publisher for z/OS, Version 9.1
WebSphere logo Data Integration Classic Connector for z/OS, Version 9.1


Importing data definitions into projects

Before you can create tables with Classic Data Architect, you must import data definition files into a data design project. For CA-Datacom, CICS® VSAM, sequential, native VSAM, and IMS™, you can import COBOL copybooks, PL/I include files, and DBDs. For CA-IDMS, you can import schema and subschema reports.

Show me!

About this task

If you want to create tables that map to Adabas databases, you do not need to import files that describe the data structures that you want to map to. When you create an Adabas table, you provide information that tells Classic Data Architect how to locate the data structures in the Adabas database that you want to use.

If you want to create tables that map to CA-IDMS databases, you can either import schema and subschema reports into Classic Data Architect or you can tell Classic Data Architect how to locate the records and sets that you want to use in the CA-IDMS database.

When you import files into a project from a local or remote server, the files are organized into subfolders for that project according to the file types.

You can then use the files that you import into a project to create one or more tables in one or more schemas in your project.

To select the files to import, you can browse the local file system for files or connect to a z/OS® server and browse data sets for members to download using FTP.

When you import a file from your local file system, the file extension is replaced. For example, a COBOL copybook mycopybook.fd is imported into the project as mycopybook.cpy. Imported files are given the following extensions:

Table 1. File types and extensions given when files are imported.
File type Extension
COBOL copybook cpy
PL/I include file inc
Schema1 sch
Subschema1 sub
DBD dbd
1When you create tables using subschemas and schemas, the IDMS table wizard validates the selected schema and subschema pair to ensure they are related during the actual mapping process.

Procedure

To import data definition files into a project:

  1. In the Data Project Explorer, right-click the project folder and select Import.
  2. Select Classic Data Architect References and click Next.
  3. Use the wizard to select the location and verify the contents of the data definition files that you want to import, select the references, and specify the folder that you want to import the files into.
  4. Optional: If you imported one or more copybooks or include files, you can validate the data definitions one at a time. In the appropriate folder for the file type, such as COBOL Copybook or PL/I Include File, right-click a data definition file and select Validate <file type>. If Classic Data Architect detects errors, an error dialog directs you to the Problems view, which is located on a tab in the lower right quarter of the window. Double click an error to open the file in the Editor with the cursor positioned on the line containing the error.
Related tasks
Configuring Classic Data Architect


Feedback

Update icon Last updated: 2007-07-11