Pergunta de entrevista da empresa ABM Data Systems

Taking the following EDIFACT message text, write some code to parse out X