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.
I am trying to join a custom user table to the SMQUERY table so I can display the full user name instead of the user ID when running my custom usage report.
I can get the join to happen without errors, but when I run the report, I get FOC1101--Interface does not support global join.
Can anyone shed any light on this error, as I have not been able to find any information at all about it.This message has been edited. Last edited by: Kerry,
Kevin ______________________ Production: WebFocus 7.6.11 on Win2K3 Server Test: WebFocus 7.6.11 on Win2K3 Server Formats: Excel2K, PDF, HTML
were you able to see this entire message FOC1101) THIS INTERFACE DOES NOT SUPPORT THE GLOBAL JOIN The JOIN command does not support the external files you are attempting to join together.
What is your Custom user table? Can you get back data if you run a report against it?
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
No, I only get the following: (FOC1101) THIS INTERFACE DOES NOT SUPPORT THE GLOBAL JOIN
When I run a report based on only my custom table, I get all the infomration. The table only includes user id, user name, role, group, and FTI Y/N indicator.
This information was created by running the mrextract.bat on the server, and pulling the user text file into Excel. I then added my FTI Y/N indicator or each row. Then I went into my Master File directory, and did 'New'-->'Upload Data File'
Kevin ______________________ Production: WebFocus 7.6.11 on Win2K3 Server Test: WebFocus 7.6.11 on Win2K3 Server Formats: Excel2K, PDF, HTML
TABLE FILE IBIMRUSR
PRINT DST.USER_NAME
BY USER_ID
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE HOLD AS USERS FORMAT ALPHA
END
JOIN SMUSER IN SMQUERY TO USER_ID IN USERS AS J1
TABLE FILE SMQUERY
PRINT USER_NAME SMRPCNAME
BY SMUSER
END
FOC1070: The FROM field used in a JOIN command must be sorted in ascending sequence within the file if it is joined to a FIX, COM or VSAM/ESDS file.
Well the good news is that you are getting a different message. The bad news is that it is still not working. Your source must also be sorted by USER_ID.
Another thing you could do on the 'USERS' file is create it as
ON TABLE HOLD AS USERS FORMAT FOCUS INDEX USER_ID
That would eliminate the sort requirement.
You may have to paste some of your code in order for us to diagnosis this further.
Using the following code, I am able to run it. However, I am only getting user_name data for my personal MRE id. All the others are blank.
TABLE FILE IBIMRUSR PRINT USER_NAME BY USER_ID ON TABLE SET HOLDLIST PRINTONLY ON TABLE HOLD AS USERS FORMAT FOCUS INDEX USER_ID END JOIN SMUSER IN SMQUERY TO USER_ID IN USERS AS J1 TABLE FILE SMQUERY PRINT USER_NAME SMRPCNAME BY SMUSER END
Kevin ______________________ Production: WebFocus 7.6.11 on Win2K3 Server Test: WebFocus 7.6.11 on Win2K3 Server Formats: Excel2K, PDF, HTML
When I run reports on each table individually, they both contain all the data I need. SMQUERY has records for several differnt users, and IBIMRUSR has all of my users.
The SET ALL=ON command did not make a difference.
Kevin ______________________ Production: WebFocus 7.6.11 on Win2K3 Server Test: WebFocus 7.6.11 on Win2K3 Server Formats: Excel2K, PDF, HTML
I made my ibimrusr file match yours. The reason it didn't match at first was because I cleaned out some of the fields that I did not need and added one of my own.
However, after your post, I recreated the table exactly like yours, and that is what I have been working with.
I will upload some data for you tomorrow. Time to call it quits for today.
Thanks for everyone's help.
Kevin ______________________ Production: WebFocus 7.6.11 on Win2K3 Server Test: WebFocus 7.6.11 on Win2K3 Server Formats: Excel2K, PDF, HTML