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.
XYZ,PQR are sequential file. 1) Can we have READ syntax inside the MODIFY command. e.g MODIFY file XYZ on match hold a b c d on match compute READ file PQR on match update a b c d end
2) How to retain the values of variable inside the MODIFY syntax ? from above example i want to retain the value of a b c and d after coming out of MODIFY syntax. but currently i am unable to retain the values once i come out of the MODIFY syntax. can we pass values to the variable used in MODIFY syntax from outside ?
3) in PQR file i have four value in different rows. How can i read the values one by one untill the end of file?This message has been edited. Last edited by: mukund,
mainframe focus 7.3.5
Posts: 3 | Location: India | Registered: December 26, 2007
This is a little more than you should expect from this kind of forum.
Your best course of action is to get some training or buy some specialist assistance in.
I don't think that you'll get a MODIFY course but you could use the newer technology - MAINTAIN - instead. I would still recommend a training course though. It will stand you (and the company you work for) in good stead.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
You state XYZ and PQR are sequential files. You can't MODIFY a sequential file. You can only modify non-sequential files, such as a focus database or a relational datasource. Using modify you can READ a sequential file, using the FIXFORM statement. You can HOLD data only by storing it into a non-sequential data file using INCLUDE/UPDATE comamnds. OR you could use the TYPE ON ddname command to write the fields out to a sequential data stream identified to the Modify by using the FILEDEF statement. I agree with Tony, this is all a bit too much to expect from the forum, and I also agree with his remark to use MAINTAIN instead.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Minimally, please read the chapter on MODIFY in the manual. Your syntax is totally wrong. You would spot that in a New York minute if you just at least read up on MODIFY in the manual.