Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    iSM Transform - Fixed Width to XML

Read-Only Read-Only Topic
Go
Search
Notify
Tools
iSM Transform - Fixed Width to XML
 Login/Join
 
Member
posted
Hi,
I have a txt file as an input to my transform and the format of the text file is:

HEAD ABS 04172011
12345 salestax IL 12.50
23456 VATtax IL 12.50
FOOT 2 25

My objective is to convert this txt file into XML for further processing.

I created a transform (fixed width to XML) and created a dictionary for this file. I am able to fetch the data from first row(Head) and last row (foot) as I defined the RecordLayout with type = HEAD and FOOT respectively. The data in middle rows start with different values.

What is the type I need to use for the LOOP->RecordLayout structure to fetch the middle rows dynamically? Is there any other alternative in iSM to achieve this?

Thanks.


iSM 616
iDM 7705
iDQC 802
WF 77
Windows 2008 Server
 
Posts: 29 | Registered: May 01, 2007Report This Post
Member
posted Hide Post
I think you have to have a record type for every row for fixed width input files. You will need to define it somehow for the data records.


iWay Service Manager (6.0.1 - patch.62627)
DMC Version 7 Release 7
 
Posts: 12 | Registered: January 24, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    iSM Transform - Fixed Width to XML

Copyright © 1996-2020 Information Builders