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  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Normalize Flat File with Across Month

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Normalize Flat File with Across Month
 Login/Join
 
Gold member
posted
I wanted to minimize manual intervention in one of our process and wondering if you can help. We get this flat file every month that we have to load into a normalize db. The file provided looks like this:

BRANCH NOV2011 DEC2011 JAN2012 FEB2012 MAR2012
99999 10 10 10 10 10

Every month I would have to manually flip the months

FILENAME=FORECAST ,SUFFIX=FIX ,$
SEGNAME=ONE ,$
FIELD=BRANCH ,NODE ,A5 ,A5 ,$
SEGNAME=TWO, PARENT=ONE, OCCURS = 5 ,$ <----- I CHANGE THE OCCURS every month to pickup the new month
FIELD=FORECAST ,FORE ,P15.2B ,A15 ,$
FIELD=COLUMN ,ORDER ,I4 ,I4 ,$ MONTH ORDER


Any suggestion around this?

This message has been edited. Last edited by: Kerry,


WF 8105M
- Portal, Dashboard
- Rcaster, Data Migrator
- Windows 2012 Client Server
- Dev/App Studio 8105
- Data: SQL, Oracle, Neteeza,MVS
 
Posts: 78 | Registered: October 24, 2006Report This Post
Expert
posted Hide Post
Dynamically create the Master, then FILEDEF the file. Search on EDAPUT...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
  
FILENAME=FORECAST ,SUFFIX=FIX ,$
SEGNAME=ONE ,$
FIELD=BRANCH ,NODE ,A5 ,A5 ,$
SEGNAME=TWO, PARENT=ONE, OCCURS = VARIABLE ,$ <----- How about?
FIELD=FORECAST ,FORE ,P15.2B ,A15 ,$
FIELD=COLUMN ,ORDER ,I4 ,I4 ,$ MONTH ORDER


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
Thanks.. I forgot to mention the fex/master are on the mainframe. Can we pass parameters to master file?


FILENAME=FORECAST ,SUFFIX=FIX ,$
SEGNAME=ONE ,$
FIELD=BRANCH ,NODE ,A5 ,A5 ,$
SEGNAME=TWO, PARENT=ONE, OCCURS = &VARIABLE ,$ <----- How about?
FIELD=FORECAST ,FORE ,P15.2B ,A15 ,$
FIELD=COLUMN ,ORDER ,I4 ,I4 ,$ MONTH ORDER


WF 8105M
- Portal, Dashboard
- Rcaster, Data Migrator
- Windows 2012 Client Server
- Dev/App Studio 8105
- Data: SQL, Oracle, Neteeza,MVS
 
Posts: 78 | Registered: October 24, 2006Report This Post
Virtuoso
posted Hide Post
You do not need to pass a parameter to the MASTER. The word VARIABLE is a value for OCCURS and it tells WF to find out by itself the number of occurrences.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
ohhhhhhhh!!! thanks!!!


WF 8105M
- Portal, Dashboard
- Rcaster, Data Migrator
- Windows 2012 Client Server
- Dev/App Studio 8105
- Data: SQL, Oracle, Neteeza,MVS
 
Posts: 78 | Registered: October 24, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Normalize Flat File with Across Month

Copyright © 1996-2020 Information Builders