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.

Considerations♦♦♦♦♦If a character string contains one or more quotes, you must code twoquotes for each actual quote. For example, you must code ABCD'EF'G asC'ABCD"EF"G'.Any key you code must be the correct length for the file.If you code the KEY statement, you must put it before any RECORDstatement.A KEY statement is automatically generated when the SELECT statementcontains at least one control key field. This acts as a place holder for thekey value passed from the previous FILE statement.if you do not code a KEY statement, the <strong>Extract</strong> function generates one ifyou coded a SELECT statement subordinate to the preceding FILEstatement. This acts as a placeholder for the key value passed from thepreceding FILE statement.RRN (record-rrn)RestrictionsDescriptionFormatConsiderationsYou can use this statement only after a QUALIFIER (DIRECT) statement for arelated file. In all other cases, it is invalid.Optional. Selects a relative record number in a non-KSDS related file that youwant the function to read directly.1–9 decimal characters♦♦♦You must code a record-rrn if you are extracting a related file and youcoded QUALIFIER (DIRECT).You must code a record-rrn that is within the boundaries of the file.If you code the RRN statement, you must put it before any RECORDstatement.<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 38Chapter: 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!