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.

FUNCTION (EXTRACT)DescriptionFILE (file-name) …DescriptionFormat⎡⎤⎢⎥⎢⎡⎡b⎤ ⎤⎥⎢⎢MAXIMUM ( ⎢⎥ ) ⎥⎥⎢⎣⎣record-count⎦⎦⎥⎢⎥⎢⎥⎢[SECONDARY -KEY ( secondary-key)]⎥⎢⎥⎢⎥⎢[CRITERIA ( element1[element2 ,...,⎥⎢elementn] . operator.datavalue1 ⎥⎢⎥⎢[. datavalue2 ... datavaluen]END.)⎥⎢⎥⎢⎥⎢[SELECT ( f1element1[,f1element2 ,..., ⎥⎢⎥⎢f1elementn] . operator.⎥⎢f2element1[,f2element2 ,..., ⎥⎢⎥⎢f2elementn]END.)⎥⎢⎥⎢⎣⎥⎦⎡⎧ALL⎫⎤⎢RECORD ( ⎨⎬ )⎥⎢⎩record-code⎭⎥⎢⎥ ...⎢⎥⎢⎧ALL⎫ ⎥⎢ELEMENT ( ⎨⎬ ) ⎥⎣⎩element-list⎭⎦Required. Invokes the <strong>Extract</strong> function.Required. Indicates the name of a file from which you want records extracted.4 alphanumeric characters. The first character must be alphabetic.Consideration You cannot code multiple file names (that is, FILE (file-name-list)) with oneFILE statement. Instead you must code multiple FILE statements to requestextraction of data from multiple files.<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 34Chapter: 5. Coding the <strong>Extract</strong> functionSection: Coding the UCL for the <strong>Extract</strong> function

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

Saved successfully!

Ooh no, something went wrong!