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.
Hello, I need some help in creating a FIX metadata to read a COBOL binary file(in EBCDIC format) transmitted to Windows operating system which has multiple record layouts as below - DATE1 TIME1 REC1 X (120 in length) - occurs once, this is header DATE2 TIME2 REC2 YYYY1 (352 length) - occurs multiple and has child records DATE2 TIME2 REC3 ZZZZ1 (600 length) DATE2 TIME2 REC3 ZZZZ2 (600 length) DATE2 TIME2 REC3 ZZZZ3 (600 length) DATE3 TIME3 REC2 YYYY2 (352 length) DATE3 TIME3 REC3 ZZZZ4 (600 length) DATE3 TIME3 REC3 ZZZZ5 (600 length)
In reality, the above doesn't have any carriage returns and looks like below - DATE1 TIME1 REC1 XDATE2 TIME2 REC2 YYYY1DATE2 TIME2 REC3 ZZZZ1DATE2 TIME2 REC3 ZZZZ2DATE2 TIME2 REC3 ZZZZ3DATE3 TIME3 REC2 YYYY2DATE3 TIME3 REC3 ZZZZ4DATE3 TIME3 REC3 ZZZZ5
Firstly, is it possible to read this file in iWay as there are no carriage returns available to distinguish records? If so, how can I create a metadata for this?
Please advise, thanks in advance.
Note: I have tried using RECTYPE, KEY, MAPFIELD as outlined in the documentation but coulnd't get any closer to the solution.This message has been edited. Last edited by: FP Mod Chuck,
Originally posted by Avatar: In reality, the above doesn't have any carriage returns and looks like below - DATE1 TIME1 REC1 XDATE2 TIME2 REC2 YYYY1DATE2 TIME2 REC3 ZZZZ1DATE2 TIME2 REC3 ZZZZ2DATE2 TIME2 REC3 ZZZZ3DATE3 TIME3 REC2 YYYY2DATE3 TIME3 REC3 ZZZZ4DATE3 TIME3 REC3 ZZZZ5
Firstly, is it possible to read this file in iWay as there are no carriage returns available to distinguish records? If so, how can I create a metadata for this?
Yep. Make sure the code page is set properly, and you will have to set a LRECL to define the physical length or the records.
quote:
Please advise, thanks in advance.
Note: I have tried using RECTYPE, KEY, MAPFIELD as outlined in the documentation but coulnd't get any closer to the solution.
Get the original copy book and create the meta-data using it. The FIX adaptor will walk you through the process. Usually you will have to do some manual edits to complete the process, but it will give you a start ... including the OCCURS. You will have to set the RECTYPE column manually.
I've done this many many times, and so long the file was a FB on the mainframe, you should not have any problems getting this to work.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
Thanks for the suggestion, but I couldn't get no longer with this. To simplify, here is the sample data and I need to read this as 1. Main Header (occurs 1) - WXYZHDR1 2. Sub Header (occurs many) - WXYZS11HDR1, WXYZS22HDR2 3. Detail (occurs many) - WXYZ11TLRTLR1 etc.
I tried with OCCURS=VARIABLE, but it worked until the first sub-header and messed up later. Hope to get some more suggestions on cracking this, cheers.