Transformation of Metacode print failing RC=08
search cancel

Transformation of Metacode print failing RC=08

book

Article ID: 258668

calendar_today

Updated On:

Products

Spool

Issue/Introduction

When transforming, these are getting an error with the most helpful messages, from my point of view, being:

An error was encountered while processing a DJDE at <FEED TWO, FORMS=NONE, FONTS=(G00000),END; >

Other error messages shown in the transformation report are;

ERROR.Job-1021.Error encountered in component Metacode Parser  of  class metaparser, detail:- Error <<<RuntimeError>>>...

com.xenos.d2e.transform.component.meta.parser.StopParsingException:

An unexpected runtime error of type <com.xenos.d2e.exceptions.XenosRuntimeException> occurred while parsing the input stream.

 

 

Environment

Release : 14.0

Resolution

The issue occurs because of an invalid syntax in the DJDE FEED statements.

If you switch to the HEX mode and translate the ASCII strings to EBCDIC, you will get the following - they are missing the equal sign (=) between the command and value:
DJDE FEED TWO;
DJDE FEED ONE;

The proper syntax of these DJDE statements is:
DJDE FEED=TWO;
DJDE FEED=ONE;

So to fix it, update the blank character x'20' with the equal sign character x'3D' in the failing report. 

With this change, the Java Transformers are able to process the report successfully.