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     [CLOSED] Pipeline delimiter in master files

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pipeline delimiter in master files
 Login/Join
 
Gold member
posted
Hi,

  FILE=A,REMARK='STORE RETURNS', DATASET='//opt/webfocus/path/SR_Item.txt',
SEGNAME=ROOT_SEG, SEGTYPE=S0, $

FIELDNAME=ACCT_YR_I,ALIAS=ACCT_YR_I,USAGE=P5,  MISSING=OFF, $
FIELDNAME=ACCT_MO_I,ALIAS=ACCT_MO_I,USAGE=P3,  MISSING=OFF, $
FIELDNAME=f_FIN_ITEM_I,ALIAS=FIN_ITEM_I,USAGE=P11, MISSING=ON, $
FIELDNAME=f_FIN_VEND_I,ALIAS=FIN_VEND_I,USAGE=P11, MISSING=ON, $
FIELD=DELIMITER ,ALIAS='|' ,USAGE=A1  ,ACTUAL=A1  ,$


with the above code , i got the focerror
(FOC1272) DFIX: INCORRECT MFD ALIAS VALUE FOR NUMERIC DELIMITER

and i had incorporated the solution as well.

  
FILE=A,REMARK='STORE RETURNS', DATASET='//opt/webfocus/path/SR_Item.txt',
SEGNAME=ROOT_SEG, SEGTYPE=S0, $

SEGNAME=DSA_CLMANT_DIM_PIPE,DELIMITER=|, HEADER=NO, $
FIELDNAME=ACCT_YR_I,ALIAS=ACCT_YR_I,USAGE=P5,  MISSING=OFF, $
FIELDNAME=ACCT_MO_I,ALIAS=ACCT_MO_I,USAGE=P3,  MISSING=OFF, $
FIELDNAME=f_FIN_ITEM_I,ALIAS=FIN_ITEM_I,USAGE=P11, MISSING=ON, $
FIELDNAME=f_FIN_VEND_I,ALIAS=FIN_VEND_I,USAGE=P11, MISSING=ON, $
-*FIELD=DELIMITER ,ALIAS='|' ,USAGE=A1  ,ACTUAL=A1  ,$


i get the following error
  (FOC03601) ERROR AT OR NEAR LINE 3 IN PROCEDURE TXT_MASTERFINAL_ITEM
 (FOC1822) WARNING. INVALID SYMBOL: >DELIMITER<
 ----------------------------vvvvvvvvv
 SEGNAME=DSA_CLMANT_DIM_PIPE,DELIMITER=|, HEADER=NO, $
 BYPASSING TO END OF COMMAND


can u help me resolve this ?

Thanks!

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


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
 
Posts: 71 | Registered: April 17, 2009Report This Post
Expert
posted Hide Post
There's something wrong with your Master:

The FILE declaration must include the attribute "SUFFIX=DFIX", yours ends in a comma. I recommend ending the FILE declaration with a ", $".

The documentation specifies "REMARKS" and not "REMARK" as the attribute, but due to WebFOCUS's loose standards, this might be OK.

FILE=A, REMARKS='STORE RETURNS', DATASET='//opt/webfocus/path/SR_Item.txt', SUFFIX=DFIX, $
SEGNAME=ROOT_SEG, SEGTYPE=S0, $
...


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
FYI

Master file coding 101.

A comment is started with a '$' character, and not '-*'.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Hi,

Sorry for those.
Please find the below code after the changes , am still getting the error :

  
(FOC03601) ERROR AT OR NEAR LINE 3 IN PROCEDURE TXT_MASTERFINAL_ITEM
 (FOC1822) WARNING. INVALID SYMBOL: >DELIMITER<
 ----------------------------vvvvvvvvv
 SEGNAME=DSA_CLMANT_DIM_PIPE,DELIMITER=|, HEADER=NO, $


Master file description 

[CODE]  

FILE=randtst,SUFFIX=DFIX,REMARKS='STORE RETURNS', DATASET='//opt/webfocus/enterprise/adhoc/ibi/apps/ftptdrpt/SR_Item.txt',$
SEGNAME=ROOT_SEG, SEGTYPE=S0, $
SEGNAME=DSA_CLMANT_DIM_PIPE,DELIMITER=|, HEADER=NO, $
FIELDNAME=ACCT_YR_I,ALIAS=ACCT_YR_I,USAGE=P5,  MISSING=OFF, $
FIELDNAME=ACCT_MO_I,ALIAS=ACCT_MO_I,USAGE=P3,  MISSING=OFF, $
FIELDNAME=f_FIN_ITEM_I,ALIAS=FIN_ITEM_I,USAGE=P11, MISSING=ON, $
FIELDNAME=f_FIN_VEND_I,ALIAS=FIN_VEND_I,USAGE=P11, MISSING=ON, $


Thanks!


WebFOCUS 7.6.9
Windows
Excel, HTML, PDF
 
Posts: 71 | Registered: April 17, 2009Report This Post
Expert
posted Hide Post
Please check out the documentation.

http://documentation.informati...g/source/topic65.htm

There are two ways to describe a pipe delimited file.

The first has a field at the end called delimiter.
The second has a specification of the delimiter in the access file.

All cases require the suffix of the master to be DFIX.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
So, this would be correct (at least it does not give error messages when doing Check):
FILE=randtst,SUFFIX=DFIX,REMARKS='STORE RETURNS',DATASET=whatever,$
SEGNAME=ROOT_SEG, SEGTYPE=S0, $
FIELDNAME=ACCT_YR_I,ALIAS=ACCT_YR_I,USAGE=P5,  MISSING=OFF, $
FIELDNAME=ACCT_MO_I,ALIAS=ACCT_MO_I,USAGE=P3,  MISSING=OFF, $
FIELDNAME=f_FIN_ITEM_I,ALIAS=FIN_ITEM_I,USAGE=P11, MISSING=ON, $
FIELDNAME=f_FIN_VEND_I,ALIAS=FIN_VEND_I,USAGE=P11, MISSING=ON, $
FIELD=DELIMITER ,ALIAS='|' ,USAGE=A1  ,ACTUAL=A1  ,$


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     [CLOSED] Pipeline delimiter in master files

Copyright © 1996-2020 Information Builders