Preparation for XML parsing failed with message CPE3025
Here is the code
Code: Select all
dcl-ds claim_data qualified;
ClaimNumber zoned(10);
DateReported char(32);
dcl-ds Insured;
L1_PolicyNumber char(20);
L1_PolicyType char(3);
L1_LoanNumber zoned(7);
L1_CompanyNumber zoned(5);
L1_CustomerNumber zoned(7);
L1_TransferCode zoned(1);
L1_PolicyStartDate char(10);
L1_PolicyExpireDate char(10);
L1_FirstName char(25);
L1_LastName char(30);
L1_HomePhone char(10);
L1_LocationAddress1 char(40);
L1_LocationAddress2 char(40);
L1_LocationCity char(26);
L1_LocationState char(2);
L1_LocationZip char(10);
L1_LocationCountry char(3);
L1_LocationCounty char(30);
L1_MailingAddress1 char(40);
L1_MailingAddress2 char(40);
L1_MailingCity char(26);
L1_MailingState char(2);
L1_MailingZip char(10);
L1_MailingCountry char(3);
end-ds;
dcl-ds Loss;
L2_TemporaryClaimNumber zoned(10);
L2_LossType char(10);
L2_DateOfLoss char(10);
L2_ReportedBy char(40);
L2_LivingInHome char(75);
L2_Whereabouts char(75);
L2_AdditionalCoverage char(75);
L2_OtherPhone char(10);
L2_OtherPhoneExt char(6);
L2_OtherPhoneCont char(30);
L2_Email char(50);
L2_PoliceOrFireDepartment char(20);
L2_CalledBy char(30);
L2_DetailsOfLoss char(700);
L2_PersonalEffectsDamage char(1);
L2_AdjStructureDamage char(1);
end-ds;
dcl-ds Claimant;
L3_Name char(30);
L3_Address1 char(40);
L3_Address2 char(40);
L3_City char(26);
L3_State char(2);
L3_Zip char(10);
L3_Country char(3);
L3_HomePhone zoned(10);
L3_WorkPhone zoned(10);
L3_Age zoned(3);
L3_DateOfBirth char(10);
L3_Employer char(30);
L3_Position char(30);
L3_SpanishSpeaker char(5);
L3_AdditionalComments char(700);
end-ds;
end-ds;
dcl-s json_file_path char(100);
json_file_path = '/policy/homeowners/inbound/LossReport_2400005552';
data-into claim_data %data(json_file_path : 'case=any +
allowMissing=yes +
allowExtra=yes +
doc=file')
%parser('YAJLINTO' : '{"document_name": json_file_path} ');