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

XML Generate Command


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue May 05, 2009 9:37 am
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
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

Moderator Emeritus


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

PostPosted: Tue May 05, 2009 9:57 am
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
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

Moderator Emeritus


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

PostPosted: Tue May 05, 2009 12:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top