I need a little more guidance on this task…I am completely lost.
I have created (what i think is an acceptable vrl) for this flat file. Attached is the vrl definition screen shot. I think i may be having an issue learning the xlate tools. COPY command is pretty self explanatory. I’m having issues getting the PI and assigning authority fields to concat into a single element.
Here is the format of the flat file pipe delimited sub separator of semi-colon. the T columns represent the survivor and the c columns represent the non-survivor.
TEPN – Person number
TLNAME – Last name
TFNAME – first name
TMNAME – Middle Name
TSTREET – street address
TCITY – City
TSTATE
TZIP
TCOUNTRY
TSSN
TDOB
THPHONE
TWPHONE
TSEX
TRACE
TMRNAA1 – the PI # and Assigning authority separated by semicolon
TMRNAA2 – the PI # and Assigning authority separated by semicolon
TMRNAA3 – the PI # and Assigning authority separated by semicolon
TMRNAA4 – the PI # and Assigning authority separated by semicolon
TMRNAA5 – the PI # and Assigning authority separated by semicolon
TMRNAA6 – the PI # and Assigning authority separated by semicolon
TMRNAA7 – the PI # and Assigning authority separated by semicolon
TMRNAA8 – the PI # and Assigning authority separated by semicolon
TMRNAA9 – the PI # and Assigning authority separated by semicolon
TMRNAA10 – the PI # and Assigning authority separated by semicolon
TMRNAA11 – the PI # and Assigning authority separated by semicolon
TMRNAA12 – the PI # and Assigning authority separated by semicolon
TMRNAA13 – the PI # and Assigning authority separated by semicolon
TPIAA1 – PI # , Assigning authority separated by semicolon
TPIAA2 – PI # , Assigning authority separated by semicolon
SEP – this is 5 stars to separate the survivor and non- survivor
CEPN
CLNAME
CFNAME
CMNAME
CSTREET1
CCITY
CSTATE
CZIP
CCOUNTRY
CSSN
CDOB
CHPHONE
CWPHONE
CSEX
CRACE
CMRNAA1 – the mrn # and Assigning authority separated by semicolon
CMRNAA2 – the mrn # and Assigning authority separated by semicolon
CMRNAA3 – the mrn # and Assigning authority separated by semicolon
CMRNAA4 – the mrn # and Assigning authority separated by semicolon
CMRNAA5 – the mrn # and Assigning authority separated by semicolon
CMRNAA6 – the mrn # and Assigning authority separated by semicolon
CMRNAA7 – the mrn # and Assigning authority separated by semicolon
CMRNAA8 – the mrn # and Assigning authority separated by semicolon
CMRNAA9 – the mrn # and Assigning authority separated by semicolon
CMRNAA10 – the mrn # and Assigning authority separated by semicolon
CMRNAA11 – the mrn # and Assigning authority separated by semicolon
CMRNAA12 – the mrn # and Assigning authority separated by semicolon
CMRNAA13 – the mrn # and Assigning authority separated by semicolon
CPIAA1 – same as above
CPIAA2