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.
(FOC1110) ATTEMPT TO DELETE,UPDATE OR INCLUDE NON-WRITABLE SEGMENT , while iam trying to read data from a sequential dataset and write it to another sequential dataset.
What method are you trying to use to write the data. If it is MODIFY it will not work because MODIFY does not support sequential datasets.
If you are trying to add rows then allocate the file using APPEND (DYNAM ... MOD on mainframe),and just do a standard Table File xxx .... HOLD FORMAT ALPHA
If you are trying to add columns then create the target as either Focus or a DBMS table with the extra columns as dummy entries, then use MODIFY with the ON MATCH UPDATE option.
I have tried the same using VSAM files.Its giving the message shown below :
(FOC405)TRANS 1 REJECTED DUPL: SA
please note that iam not trying to eneter a duplicate record.focexec proc and master table definitions are as given below DYNAM ALLOC F DATAFILE DA G245232.KSDS.CLUSTER SHR MODIFY FILE DATAFILE PROMPT ID NAME NUMBER MATCH ID ON NOMATCH INCLUDE ON MATCH REJECT DATA
Originally posted by JG: [qb] What method are you trying to use to write the data. If it is MODIFY it will not work because MODIFY does not support sequential datasets.
If you are trying to add rows then allocate the file using APPEND (DYNAM ... MOD on mainframe),and just do a standard Table File xxx .... HOLD FORMAT ALPHA
If you are trying to add columns then create the target as either Focus or a DBMS table with the extra columns as dummy entries, then use MODIFY with the ON MATCH UPDATE option. [/qb]
Is the ability to update a VSAM file installed at your site?
It's been years since I have used FOCUS against VSAM files. From the master file you displayed I believe that the value for segtype is incorrect for a VSAM file. I seem to recollect that it has to be the same value for all VSAM files but I do not believe the correct value is S1. Look in the the FOCUS VSAM read/write interface manual for the correct value for segtype. The segtype S1 does not mean KEY to the file is the first described field for a VSAM file like it does for a FOCUS database. The KEY is usually described separately. That might also explain why the modify does not work as it does not know what the real keys are.
Posts: 115 | Location: Chicago, IL | Registered: May 28, 2004