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.

4. Coding the control sectionOverviewThe <strong>Extract</strong> utility requires UCL. You must begin by coding a control section.The control section defines the processing environment for <strong>Extract</strong> and cancontain the following parts of the environment:♦The names of the database Schema and Environment Description♦ The content and format of the output listingThe sample UCL program below shows the names of the Schema andEnvironment Description.Within the control section, you can code exactly one FUNCTION statement toperform an extract. You begin the function statement with a FUNCTIONcommand. (In this example, the function section has been abbreviated forclarity.) After the control and function sections, you code CONTROL (END).CONTROL (BEGIN)Initiates UCL program.ENV-DESC (MYDESC)Names Environment Description.SCHEMA (MYSCHEMA) Names Schema.FUNCTION (EXTRACT)Invokes the <strong>Extract</strong> function.CONTROL (END)Terminates program.For information on how to code the function section, see "5. Coding the <strong>Extract</strong>function" on page 32.<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 28Chapter: 4. Coding the control sectionSection: Overview

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

Saved successfully!

Ooh no, something went wrong!