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] As400 specific file member access

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] As400 specific file member access
 Login/Join
 
Member
posted
On the As400, it is possible to create different members for a single file (multi-member). When using SQL, it is only possible to access the first member of that file. The data for the other members for all practical purposes becomes invisible to SQL.
We are moving away from multi member driven files, but we still have a few applications using them.
In order to SQL a specific member, I have found in IBM documentation that it is possible to create an ALIAS while pointing to specific member and then base your SQL file selection on that ALIAS.
The ALIAS approach necessitates 3 statements as follows:

"CREATE ALIAS QTEMP/SOURCETEMP FOR library/file (membername)
"SELECT SRCDTA FROM QTEMP/SOURCETEMP"
"DROP ALIAS QTEMP/SOURCETEMP"

This approach would work, but would be rather cumbersome.
Using WebFOCUS, is it possible to gain direct access to specific members without the use of an ALIAS? Does the As400 Adapter offer flexibility for this? Examples anyone? Confused

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


WebFOCUS 7.7.03 | As400 V6R1 | HTML, PDF, Excel
 
Posts: 6 | Registered: June 07, 2011Report This Post
Expert
posted Hide Post
Hi MicA,

From our technicals: In order to access Physical files that contain multiple members, you should add the DB Heritage Files adapter.
When you go to add an adapter go to the Sequential and Indexed category, then expand DB Heritage Files then click the DB Heritage Files then configure.
That is all that is needed for this adapter, then you can right click on it and click "Create Synonym" there you can enter the library where they reside and/or filter further.

If additional help is needed, please open a case with Customer Support Services for assistance. You may either call 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
I'll look into the DB Heritage Files Adapter. Thanks Kerry.


WebFOCUS 7.7.03 | As400 V6R1 | HTML, PDF, Excel
 
Posts: 6 | Registered: June 07, 2011Report 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] As400 specific file member access

Copyright © 1996-2020 Information Builders