Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
XML Generate Command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
yogeshwar_ade

Active User


Joined: 31 Aug 2006
Posts: 103
Location: INDIA

PostPosted: Tue May 05, 2009 9:26 am    Post subject: XML Generate Command
Reply with quote

Hi,

I am using XML generate command n its working fine for me. But I want to do some formatting like
1) The variable on which I am using XML Generate command are greater then 30 Char, so I have define them below 30 Char(Cobol Limitation) but now I want to replace them with original one. I can't use Inspect command because of performance issue. Is any other way to do this?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue May 05, 2009 9:37 am    Post subject:
Reply with quote

Hello,

Might the "original" be changed to 30 characters or less and then there would be no need to "change them back"?
Back to top
View user's profile Send private message
yogeshwar_ade

Active User


Joined: 31 Aug 2006
Posts: 103
Location: INDIA

PostPosted: Tue May 05, 2009 9:51 am    Post subject:
Reply with quote

example - below is the one of the variable which is above 30 char

Cancellation_Fee_After_Cooling_Off_Period

For above, I define COBOL variable like :- CANC-FEE-AFTER-COF

Now after generating XML, I want to replace that word with original one.


I am sending this XML doc to 3rd party ....so can't change the requirement.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue May 05, 2009 9:57 am    Post subject:
Reply with quote

Hello,

Quote:
Now after generating XML, I want to replace that word with original one.
Understood. . .

Quote:
I am sending this XML doc to 3rd party ....so can't change the requirement.
Quote:
I can't use Inspect command because of performance issue
If the deliverable file cannot be the shorter names, a lot of cpu will be required regardless of how it is done.

How large is the file that is to be sent?
Back to top
View user's profile Send private message
yogeshwar_ade

Active User


Joined: 31 Aug 2006
Posts: 103
Location: INDIA

PostPosted: Tue May 05, 2009 10:12 am    Post subject:
Reply with quote

File is too large around millions of records and this program run as part of batch which is have very tight window.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue May 05, 2009 12:21 pm    Post subject:
Reply with quote

Hello,

Is there any chance of creating the file with short names and then (outside of the tight window) translating the names back to the original names? The name conversion list already exists and this might allow the run to complete in a timely fashion (within the window) and then the file could have the originial names restored?
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 Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
No new posts How to Generate JCL using Sort naveen katkuri DFSORT/ICETOOL 7 Tue Mar 13, 2018 3:50 pm
No new posts XML Generate with Attribute & Ele... Log Thangavel COBOL Programming 5 Fri Jan 19, 2018 6:21 pm
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

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