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.

⎧D'dec-string'⎫⎪⎪KEY ( ⎨X'hex-string'⎬ )⎪C'' ⎪⎩ char-string ⎭RestrictionsDescriptionYou can use this statement only after a QUALIFIER statement. Specifically, thefollowing restrictions apply:♦♦♦♦After QUALIFIER(DIRECT). KEY is required for primary files but invalid forrelated files. The <strong>Extract</strong> function generates a KEY statement if you do notcode one and you code a SELECT statement subordinate to the precedingFILE statement.After QUALIFIER(SERIAL). KEY is invalid.After QUALIFIER(SEQUENTIAL). KEY is invalid for primary files but optionalfor related files.After QUALIFIER(INDEX). KEY is optional.Indicates the key you want the function to use for direct access to a primaryfile, sequential access to a related file, or indexed access to either type of file.Format D'dec-string' A decimal string of 1 to 256 characters preceded by a D andsurrounded by single quotes. This string is a 1–256 byte key thatmust match the actual key length.X'hex-string'C'char-string'A hexadecimal string of 2 to 512 characters preceded by an Xand surrounded by single quotes. This string is a 1–256 bytekey. The length must be an even number and twice the actualkey length.A character string of 1 to 256 characters preceded by a C andsurrounded by single quotes. This string is a 1–256 byte key andmust match the actual key length.<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 37Chapter: 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!