Currently, this is producing an error as below: Error code is: 32027Could not get error message
Something had to do with the way i was joining the SQL Server table.
Thank you in advanceThis message has been edited. Last edited by: Kathleen Butler,
WebFOCUS 7703/7705/8105m/8201m/8202m
March 06, 2016, 04:04 PM
Waz
You do it the same way.
Its in the documentation.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 07, 2016, 08:33 AM
WF1326
Waz,
I could not find it in the documentation. Could you please point me to it?
WebFOCUS 7703/7705/8105m/8201m/8202m
March 07, 2016, 08:53 AM
Francis Mariani
? 32027
(FOC32027) CONSOLE CONNECT TO %1 FAILED
Yes, it's vague.
You may have to qualify the table name EMPTAB with the schema name.
Or, perhaps WF metadata (.mas, .acx) is required when you join with this method. Did you generate metadata? Take a look at the acx file - perhaps it has a clue how the cross-reference should be coded.
The documentation Waz refers to is: Describing Data With WebFOCUS Language > Defining a Join in a Master File
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 07, 2016, 08:59 AM
Francis Mariani
Though you may not need to do this, see also:
Adapter Administration for UNIX, Windows, OpenVMS, IBM i, and z/OS > Using the Adapter for Microsoft SQL Server > Optimizing Non-Equality WHERE-Based Left Outer Joins
Adapter Administration for UNIX, Windows, OpenVMS, IBM i, and z/OS > Cluster Join
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 09, 2016, 01:59 PM
WF1326
The SQLMSS EMPTAB.acx file contains SEGNAME=EMPTAB, TABLENAME=MSBI.dbo.Emptab, CONNECTION=MSBI_PROD, $
So, I added a new line with EMP_ID as a key field inside the .acx file SEGNAME=EMPTAB, KEYFLD=EMP_ID, IXFLD=EMP_ID, $
Now, inside foc master file FILE1.mas, i tried to join the SQLMSS table in the following way. FILE=FILE1, SUFFIX=FOC, SEGMENT=SEG01, SEGTYPE=S1, $ FIELDNAME =EMP_ID, EMPID ,I9 ,FIELDTYPE=I, $
Still no luck. It still keeps crashing with Error code 32027This message has been edited. Last edited by: WF1326,
WebFOCUS 7703/7705/8105m/8201m/8202m
March 09, 2016, 02:03 PM
Ricardo Augusto
Can you try using Data Management Console?
WebFOCUS 8.1.05 / APP Studio
March 09, 2016, 02:16 PM
Francis Mariani
Try using the Synonym Editor in Dev Studio (I imagine it's there for App Studio as well). This is equivalent to the Data Management Console suggested by Ricardo.
The doc: Describing Data With Graphical Tools > Using the Synonym Editor > Creating Business Views > How to Create a Business View Using the Synonym Editor
It is possible you missed something in the acx file, so it might be better to use the GUI.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 09, 2016, 02:16 PM
WF1326
We don't have Data Management console. I tried my case with synonym editor in dev studio.
I am able to see the columns list when i do ?FF FILE1. But, I could not get the data when i use the query.This message has been edited. Last edited by: WF1326,
WebFOCUS 7703/7705/8105m/8201m/8202m
March 09, 2016, 02:25 PM
Francis Mariani
I attempted this with a FOCUS DB (HTESTDATES) and an Oracle table (TEST_CALENDAR). I don't get the 32027 error, but I do get this error:
(ACC20201) BOTH DATASET AND ACCESS FILE NOT PERMITTED
I used only the GUI, so I guess it's not fool-proof (as all other GUI tools).
It appears that the schema name is not required as the WebFOCUS METADATA name (TEST_CALENDAR) is being used...
I have no clue why I get the BOTH DATASET AND ACCESS FILE NOT PERMITTED error and I've never seen a "ACC" error message before.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
March 09, 2016, 02:32 PM
Francis Mariani
WF1326, I'm not sure if I read your original post correctly - I wouldn't add anything inside an existing master - I would create a new master with the Synonym Editor and reference the FOCUS DB and MSSQL table. You may end up with the error I'm getting. I will attempt to fix this error by removing the dataset tag in the master for the FOCUS DB.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
When i try to get sample data, i end up getting a popup saying "Session lost, agent crashed or killed"
Could not find any details about why it crashed on the server
WebFOCUS 7703/7705/8105m/8201m/8202m
March 10, 2016, 02:38 PM
Francis Mariani
In my attempt to replicate what you're trying to do, I deleted the "DATASET" attribute from the FOCUS DB master (because of the error: (ACC20201) BOTH DATASET AND ACCESS FILE NOT PERMITTED).
Now the program runs without error, but there are no results.
TABLE FILE TEST/NEWMAS
PRINT
TEST_CALENDAR.BUS_DTE
BY TEST_CALENDAR.BUS_DTE
WHERE RECORDLIMIT EQ 100
END
BYPASSING TO END OF COMMAND
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server