Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us