try{xmlParse(<XmlVariable>);while(xmlParseNext()){amtMain(cobolPerform,<Label_1>,<Label_2>)if(systemItems.getXmlItems().getXmlCode().equalTo(-1)){thrownewAmtException("XML PARSE exception: XML-CODE equals -1");}elseif(systemItems.getXmlItems().getXmlCode().greaterOrEqual(1)&&systemItems.getXmlItems().getXmlCode().lessOrEqual(49)){thrownewAmtException("XML PARSE exception: XML-CODE in range 1-49");}}// Not on exception code }catch(Exceptionignore){// On exception code}finally{xmlParseReset();}
Parameters
<XmlVariable>
The XML variable to be parsed.
<Label_1>
The name of the first paragraph or section of the processing procedure.
<Label_2>
The name of the last paragraph or section of the processing procedure.