IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL XML GENERATE - XML Tag Length problem


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Suceender Kumar

New User


Joined: 10 Jan 2008
Posts: 29
Location: Chennai, India

PostPosted: Wed Feb 11, 2015 12:49 pm
Reply with quote

Hi,

I am using XML GENERATE to create XML using the copybook and its content from a file. I have a requirement where in they mentioned a TAG name of more than 30 characters in length.

<AdditionalpolicyinformationProvided>XXXX</AdditionalpolicyinformationProvided>

Since COBOL limits the variable declaration to 30 characters I am unable to form the XML Tag for the above mentioned XML.

01 Policy_Details.
05 AdditionalpolicyinformationProvided pic x(04) value XXXX.

The above declaration is not possible due to restriction in variable declaration. Is there any way to achieve this? Please let me know if any additional information required.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Sysncsort - Justification problem SYNCSORT 6
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts FILE STATUS - 39 ON VARIABLE LENGTH V... COBOL Programming 2
No new posts COBOL Performance Tuning COBOL Programming 6
No new posts JCL for replacing code in Cobol JCL & VSAM 7
Search our Forums:

Back to Top