View previous topic :: View next topic
|
Author |
Message |
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|