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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Formatting UCLUCL has a free-form format that allows almost any coding style. Even thoughthis manual lists only one statement per line and indents to showsubordination, you do not need to follow this structure. For example, you cancode the following example this way:COMMAND (argument)STATEMENT (argument)STATEMENT (argument)STATEMENT (argument)Or this way:COMMAND (argument)STATEMENT (argument) STATEMENT (argument) STATEMENT(argument)When you put statements on the same line, you can put any number of spacesbetween them, or you can leave out spaces.You can also insert comments in your UCL program. You can provide anyinformation you wish about your program in these comments. To show thatinformation is a comment, put an asterisk in column 1. You must place yourcomments after CONTROL (BEGIN) and before CONTROL (END) as in thefollowing example:CONTROL (BEGIN)*** THIS UCL PROGRAM EXTRACTS CUSTOMER AND* PURCHASE ORDER INFORMATION.**ENV-DESC (MYDESC)SCHEMA (MYSCHEMA)FUNCTION (EXTRACT)* CUSTOMER FILE *FILE (CUST)* PURCHASE ORDER FILE*FILE (PORD)CONTROL (END)<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 10Chapter: 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!