Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
COBOL XML GENERATE - XML Tag Length problem

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: COBOL XML GENERATE - XML Tag Length problem
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Having problem passing a variable to ... markzasz JCL & VSAM 12 Thu Jul 11, 2019 5:31 pm
No new posts Odd bit of COBOL socker_dad COBOL Programming 3 Tue Jul 09, 2019 4:46 am
No new posts position, start pos, length of column... juares castro SYNCSORT 14 Fri Jun 21, 2019 8:47 pm
No new posts Regarding mroe data to be processed i... vinu78 DB2 3 Mon May 27, 2019 7:31 pm
No new posts S0C7 abend while running a Cobol Program amitc23 COBOL Programming 2 Tue May 07, 2019 4:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us