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     creating an access table -- format sqlmac

Read-Only Read-Only Topic
Go
Search
Notify
Tools
creating an access table -- format sqlmac
 Login/Join
 
Member
posted
Has anyone had this problem when creating an Access table in MRE? Using version 533. I've seen a post that mentions an adaptor, but not sure what it is referring to. Anyway, the Access DB resides on our reporting server and an ODBC connection has been created. I can create synonyms and read tables that already exist in this Access DB, but it isn't allowing me to create and place a new table into the Access DB. Getting the connection problem seen below. Wondering if it has to do with working from MRE ??

For instance, I'm doing this:
TABLE FILE WHATEVER
PRINT *
WHERE RECORDLIMIT EQ 10
ON TABLE HOLD FORMAT SQLMAC
END

and getting this:

0 NUMBER OF RECORDS IN TABLE= 10 LINES= 10
0 HOLDING SQLMAC FILE...
(FOC1394) CONNECT FAILURE
(FOC1400) SQLCODE IS -1023 (HEX: FFFFFC01)
: [S1009] [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a v
: alid path. Make sure that the path name is spelled correctly and that y
: ou are connected to the server on which the file resides. [IM006] [Micro
: soft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
L (FOC1406) SQL OPEN CURSOR ERROR
 
Posts: 16 | Registered: November 17, 2005Report This Post
Expert
posted Hide Post
adapter means you have to buy the software to make the specific type of file.
being able to read excel or access via an odbc connection is a thank you to BillGates...but to be able to write one, you need the adapter from your source language, focus. and that's the I-Way group at IBI .. they build the translators..so you have to buy one and add it to your focus installation.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
I've never worked with MS Access, but you may need to set up the SQL environment before holding the file as format SQLMAC. Something like:

-*-- Set up the SQL Environment ----------------------------
SET SQLENGINE = SQLMSS
SQL SET SERVER MSCRMUAT
-RUN

Change SQLMSS to whatever MS Access is called in WebFOCUS and change MSCRMUAT to the DB Connection name you gave when you set up the adapter.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Thank you both ... Francis and susannah. I tried the SET SQLENGINE ..... and SET SERVER in the WF MRE procedure, but to no avail. Looks like it's the adapter that's the problem since I can create a Teradata table and I have no problem creating an Access table in Dev Studio.

As it is, to keep my life simple, I will just do a FORMAT COMT or TABT and import this.

thanks again for your replies .... always appreciated !!

alan
 
Posts: 16 | Registered: November 17, 2005Report This Post
Expert
posted Hide Post
hmmm
if you can successfully create an MSAccess table from DevStu, then you must have the adapter... somehow or other... dont give up yet.. someone wiser will come along...
maybe its a function of the serial number you enter when you install devstu, a whole different animal from the serial# you enter with the client...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Member
posted Hide Post
susannah,

When I use Dev Studio, I'm using my localhost reporting server which allows me to create a table in an Access db.

The problem I'm having is on our remote reporting server running a procedure through MRE ... then I cannot create the table in an Access db sitting on the remote reporting server.
 
Posts: 16 | Registered: November 17, 2005Report This Post
Member
posted Hide Post
Good One

Thanks Francis for your information, I tried your idea in a report and it functioned correctly!!!

Bye!!!


WebFOCUS ???, Windows ???
 
Posts: 7 | Location: Bogotá, Colombia | Registered: September 24, 2007Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by juancpove:

There are 10 types of people in this world, those who understand binary and those who don't!


Good One

funny...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report 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     creating an access table -- format sqlmac

Copyright © 1996-2020 Information Builders