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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
Here. CONTROL is the Identity field. The MAINTAIN code would be:
MAINTAIN FILE MNTAUTO INFER CONTROL LASTNAME FIRSTNAME ITEM AMOUNT INTO INSTK PERFORM UPDAT1
CASE UPDAT1 COMPUTE INSTK(1).LASTNAME = 'PIG'; COMPUTE INSTK(1).FIRSTNAME = 'PORKY'; COMPUTE INSTK(1).ITEM = 'PORKBELLIES'; COMPUTE INSTK(1).AMOUNT = 2000.00; FOR 1 INCLUDE LASTNAME FIRSTNAME ITEM AMOUNT FROM INSTK ENDCASE END
The INFER command loads all of the fields into the stack. When you perform the INCLUDE you can list all BUT the CONTROL field. This technique will take advantage of the Identity field, and still allow you to Include records. I hope this helps.
Mark Derwin
Posts: 663 | Location: New York | Registered: May 08, 2003
Dave The rule with INCLUDE is that you only have to list the key fields. However, in this case we get around the Identity key issue by listing other fields. Note that every field besides the identity field WILL be included.
Mark
Posts: 663 | Location: New York | Registered: May 08, 2003