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.

Example 3This example navigates to the BRAN primary file by making a serial sweep ofthe file. For each record retrieved from BRAN, <strong>Extract</strong> navigates to the BRMArelated file along the BRANLK03 linkpath.One extracted output record is generated for each pair of records read fromBRAN and BRMA. Data from BRAN may be repeated in multiple consecutiveoutput records if the linkpath chain in BRMA contains multiple records. Notethat if no records exist in BRMA on the BRANLK03 linkpath chain for a givenBRAN record, <strong>Extract</strong> generates null output for the BRMA data fields. Theextracted output flat file contains data values selected from five fields in BRANand two fields in BRMA.The input UCL is:CONTROL(BEGIN)ENV-DESC(BS23PDM)SCHEMA(BURRYS)FUNCTION(EXTRACT)FILE(BRAN)QUALIFIER(SERIAL)SELECT(BRANCTRL.EQ.BRMABRAN)FILE(BRMA)QUALIFIER(SEQUENTIAL)LINKPATH(BRANLK03)CONTROL(END)The input XML is:<strong>Extract</strong> <strong>Utility</strong> <strong>User's</strong> <strong>Guide</strong>, P25-9513-03 66Chapter: 5. Coding the <strong>Extract</strong> functionSection: <strong>Extract</strong> examples

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

Saved successfully!

Ooh no, something went wrong!