11.07.2015 Views

Extract Utility User's Guide - Supra - Cincom

Extract Utility User's Guide - Supra - Cincom

Extract Utility User's Guide - Supra - Cincom

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. Using the <strong>Extract</strong> utilityYou can use the <strong>Extract</strong> utility to retrieve data from a SUPRA PDM database andreformat it into a flat file suitable for input to a data warehouse application,such as <strong>Cincom</strong>BI for SUPRA.<strong>Extract</strong> utility overviewThe <strong>Extract</strong> utility allows you to identify standard SUPRA PDM database filesfrom which you wish to extract data. On z/OS these can be SUPRA native,converted, or Series 80 files. They can be primary or related files, and you cantake advantage of secondary keys. You also specify the layout of the records inthe output flat file. <strong>Extract</strong> also performs data conversions you specify.You supply three input control files:Z/OS ♦ CSIPARM file (z/OS only). Described in the SUPRA Server PDM and DirectoryAdministration <strong>Guide</strong> (OS/390 & VSE), P26-2250.♦ <strong>Utility</strong> Control Language (UCL). Described in more detail in Chapters "4.Coding the control section" on page 28 and "5. Coding the <strong>Extract</strong> function"on page 32.♦Layout Control file. Described in more detail in Chapter "5. Coding the<strong>Extract</strong> function" on page 32. This file conforms to XML syntax rules.The UCL input tells <strong>Extract</strong> which files to extract data from, how to retrieverecords from those files, and how to navigate from file to file to find data forextraction. The Layout Control file describes which fields to extract from thedatabase files and their order in the records of the output flat file. It alsoallows you to subdefine a SUPRA database file’s fields into subfields.Z/OSYou submit the UCL program and Layout Control file by executing theCSUNEXTR load module in z/OS. You can also use the general utility catalogedprocedure TISUTUTL. For more information, refer to the SUPRA Server PDM andDirectory Administration <strong>Guide</strong> (OS/390 & VSE), P26-2250.You define two output files:♦♦Status and progress listing file<strong>Extract</strong>ed output flat fileOverview of UCLTo program the <strong>Extract</strong> utility function, you must use UCL. UCL is a procedurallanguage that uses statements to identify the processing to be performed. TheCONTROL statement initiates the control section, which establishes theprocessing environment for the <strong>Extract</strong> function.<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 8Chapter: 2. Using the <strong>Extract</strong> utilitySection: <strong>Extract</strong> utility overview

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!