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  Rules, Regulations, and FAQs    Separating columns while dumping data into SQL Server from COBOL using DataMigrator

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Separating columns while dumping data into SQL Server from COBOL using DataMigrator
 Login/Join
 
Member
posted
Does anyone have an example of how to query when Separating columns while dumping data into SQL Server from COBOL using Data Migrator?

Because in cobol copybook we structure like

Copybookfilename.cpy

03 ABC-DEF OCCURS 3 TIMES.
05 ABC-DEF-G PIC X(08)
05 ABC-DEF-H PIC S9(9)V99 COMP-3
05 ABC-DEF-I PIC S9(7) COMP-3

And I am writing query in SQL Script to load data like below

Select "ABC-DEF-G","ABC-DEF-H","ABC-DEF-I" From Copybookfilename

It loads data in as mentioned below

ABC-DEF
[[20161209,48.80,123456],[null,0.00,0],[null,0.00,0]]

Actually I want data in three separate columns like

ABC-DEF-G ABC-DEF-H ABC-DEF-I
20161209 48.80 123456
NULL 0.00 0
NULL 0.00 0

What should I do to get this?


WebFOCUS 8
Windows, All Outputs
 
Posts: 9 | Registered: December 09, 2016Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  Rules, Regulations, and FAQs    Separating columns while dumping data into SQL Server from COBOL using DataMigrator

Copyright © 1996-2020 Information Builders