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
 
Parsing of XML file into flat file through sort jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
ibmbansal08

New User


Joined: 31 Jul 2012
Posts: 6
Location: India

PostPosted: Mon Oct 08, 2012 7:23 pm    Post subject: Parsing of XML file into flat file through sort jcl
Reply with quote

Hi,

Please help me in solving this problem.

My I/P XML file (RECFM is VB) is :
- <cost type="I" xsi:type="costElementType">
<country>DE</country>
<onshore>true</onshore>
<startdate>2010-10-22</startdate>
<enddate>2015-12-31</enddate>
<offeringname>01K0059</offeringname>
<costvalue uom="USD">130.23</costvalue>
<pricetype>PUR</pricetype>
<costtype>LDP</costtype>
</cost>
- <cost type="I" xsi:type="costElementType">
<country>DE</country>
<onshore>true</onshore>
<startdate>2000-01-02</startdate>
<enddate>2007-12-31</enddate>
<offeringname>8660</offeringname>
<varianttype>FEA</varianttype>
<variantname>A043</variantname>
<costvalue uom="EUR">130.23</costvalue>
<costtype>LDP</costtype>
</cost>

I want the FB output file of LRECL 103 as :

DE true 2010-10-22 2015-12-31 01K0059 USD 130.23 PUR LDP
DE true 2000-01-02 2007-12-31 8660 FEA A043 EUR 130.23 LDP
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1932
Location: UK

PostPosted: Mon Oct 08, 2012 7:53 pm    Post subject:
Reply with quote

2 months ago you were asking almost the same question? Can you not adapt that solution to your present requirement?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10374
Location: italy

PostPosted: Mon Oct 08, 2012 7:53 pm    Post subject: Reply to: Parsing of XML file into flat file through sort jc
Reply with quote

why don' You ask Your IBM colleagues ?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1932
Location: UK

PostPosted: Mon Oct 08, 2012 7:56 pm    Post subject:
Reply with quote

If you really do work for IBM then you have all the help you need within the company. After all, it is IBM's product. All you have to do, at worst, is drop Kolusu an email internally.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10374
Location: italy

PostPosted: Mon Oct 08, 2012 8:01 pm    Post subject: Reply to: Parsing of XML file into flat file through sort jc
Reply with quote

yes he does..
see the comments to the TS previous topics

and Frank Yaeger confirmed some time ago in a private email exchange
that IBM employees are not supposed ( by IBM policy and conduct guidelines)
to ask for help on public forums and should use the IBM Internal resources
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1932
Location: UK

PostPosted: Mon Oct 08, 2012 10:45 pm    Post subject:
Reply with quote

Perhaps, then, the topic should be locked and TS's privileges restricted so that he cannot start a topic.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm

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