COBOL XML IDENTIFIED BY CLAUSE
I am trying to generate XML from cobol code. When I use 'identified by' in the code I am getting compiler error - "IDENTIFIED" was invalid.
01 myXML.
03 NAM1 identified by "MY_NAME".
So I tried adding compiler extension as follows.
$SET PREPROCESS(PREXML) ENDP
ID DIVISION.
PROGRAM-ID. XMLCOBT.
But this is also giving me compiler errors.
A character other than "*", "D", "/" or "-" was found in column 7
"SET" should not begin in area "A". It was processed as if found in area "B".
"SET" was invalid. Scanning was resumed at the next area "A" item,
Could you advise what is wrong here. How should I code so that I can use 'identified by' clause for my xml.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.




