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]Modify File / Fixform

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Modify File / Fixform
 Login/Join
 
Member
posted
I am new to the Focus world. I am looking through someones FEX and see the following statement:

MODIFY FILE INTKELOG
FIXFORM FROM HOLDLOG
MATCH IND_CLAIMNO
ON MATCH CONTINUE
ON NOMATCH INCLUDE
MATCH PRO_STATUS PRO_DATE PRO_TIME
On MATCH CONTINUE
ON MATCH INCLUDE
DATA ON HOLDLOG

Can someone explain to me what this means?

This message has been edited. Last edited by: <Emily McAllister>,
 
Posts: 15 | Registered: April 12, 2016Report This Post
Master
posted Hide Post
You have a multi-segment file, probably a FOCUS file named INTKELOG. HOLDLOG is a transaction file. It is being read to add new records to a child segment in INTKELOG.

IND_CLAIMNO is the primary key to the top segment. The child segment being updated has a key using PRO_STATUS, PRO_DATE & PRO_TIME.

MODIFY is similar to an SQL UPDATE.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Expert
posted Hide Post
Also there are MODIFY manuals, but you will need to search the Doc Library to find them.


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
Your code is updating a table called INTKELOG. Take a look at SUFFIX= in INTKELOG.MAS and find out what type of data it is. For instance SUFFIX=FOCUS means you're updating a FOCUS internal data; SUFFIX=SQLORA means INTKELOG is an Oracle table.

FIXFORM FROM means the columns in the code are defined by a master file called HOLDLOG.MAS. So you can look at HOLDLOG.MAS to find out the format of IND_CLAIMNO and PRO_STATUS, et cetera. MATCH means find the first occurance of the falue for IND_CLAIMNO and when you find a MATCH do x and when you do not find a MATCH do the other. Specifically, ON MATCH CONTINUE means go to the next MATCH and ON NOMATCH INCLUDE means if this value doesn't exist INSERT it into the database being updated.

DATA ON HOLDLOG means look for the data you're trying to insert or update in a dataset (usually text file) in a table called HOLDLOG.FTM.

My guess is that before this code is executed, a hold file is being created by a TABLE FILE request that creates an answer set using ON TABLE HOLD AS HOLDLOG.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report 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]Modify File / Fixform

Copyright © 1996-2020 Information Builders