Hi RW9, Thanks for your quick response. Unfortunately I am supposed to maintain it with SAS coding. So, I have to assume it as a text file. I have tried your code sample as below. However, the result is not as expected. I want to get the all lines between FlowDefinition but can get the following results. Do you have any comments? ___________________ FILENAME response '/sas/MPayment_Project/XML_Files/getFlow_resp.xml'; FILENAME flowdef2 '/sas/MPayment_Project/XML_Files/flowdef2.xml'; data _null_; infile response; file flowdef2; input buffer $20000.; if (index(buffer,"<FlowDefinition")>0) then do; end; else; put buffer; run; _____________________ RESULT: TableColumnsAdd(_G_IO_READ_COLUMNS_TO_READ, { { 'TID', 'STRING' }, { 'TCKN_VKN', 'STRING' }, { 'RESULT', 'STRING' }, { 'RESULT_TYPE', 'STRING' }, { 'RESULT_CODE', 'STRING' }, { 'RESULT_DATETIME', 'DATETIME' } });</Expression></CodeNode><CodeNode displayNam TableRowsAdd(_G_IO_INSERT_TABLE_VALUES, { { _RQST_TCKN_1J2FM_C, _TODAYS_DATETIME } });</Expression></CodeNode><CodeNode displayName="Cell" name="DGEHRLGYPJCAU3HN"><Transition name="ToReply"><Rule>true</Rule><DestinationNodeName>BEFCQDTZUJGITU1X</Destinatio _CELL_DESC=.; _RESPONSE_TRACKING_CODE="10380201"; _TOTAL_TREATMENTS = 0; </Expression></CodeNode><CodeNode displayName="" name="standardReplyContext"><Description/><Transition name="TostandardReplyContext_3"><Rule>true</Rule><DestinationNodeName>standardReplyContext_3</DestinationNodeName></Transition><Expression>_CELL_NAME=""; _CELL_DESC=""; _REPLY_PACK_CODE="1039"; </Expression></CodeNode></FlowDefinition></GetFlowResponse>
... View more