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] reading from EXCEL to WebFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] reading from EXCEL to WebFOCUS
 Login/Join
 
Master
posted
I have created this little fex to search for and report on values from an excel spreadsheet...
-*
  
APP HOLDMETA HELDFILES
FILEDEF CHGCDXMAS DISK \\misspiggy\x$\ibi\apps\HeldFiles\CHGCDX.mas
-RUN
-*
-WRITE CHGCDXMAS FILENAME=CHGCDX,SUFFIX=COM,$
-WRITE CHGCDXMAS SEGNAME=CHGCDX, SEGTYPE=S0,$
-WRITE CHGCDXMAS FIELD=OCHGCD, ALIAS=E01, ACTUAL=A6, USAGE=A6,$
-WRITE CHGCDXMAS FIELD=FILLER, ALIAS=E02, ACTUAL=A1, USAGE=A1,$
-WRITE CHGCDXMAS FIELD=NCHGCD, ALIAS=E03, ACTUAL=A6, USAGE=A6,$
-*
FILEDEF CHGCDX DISK \\misspiggy\x$\ibi\apps\HeldFiles\NEW_CHGCD_4202009.csv
-RUN
-*
TABLE FILE CHGCDX
PRINT
OCHGCD
NCHGCD
IF RECORDLIMIT EQ 15
END
-RUN
-EXIT 

-*

When I run it I get this error...

Reporting Server messages exceeded IBIF_max_messages, report retrieval aborted.

Please, contact your WebFOCUS administrator.
-*
Can anyone advise as to what I am doing wrong?

Thanks! Frowner

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


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Expert
posted Hide Post
Change RECORDLIMIT to READLIMT, make it smaller, and do a view source on the output so you can see the errors.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
In summary, I added this:
quote:

-SET &ECHO=ALL;
-*
TABLE FILE CHGCDX
PRINT
OCHGCD
NCHGCD
IF READLIMIT EQ 15
END
-RUN
-EXIT

I get the same error message.


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
 
Posts: 573 | Location: Baltimore, MD | Registered: July 06, 2006Report This Post
Expert
posted Hide Post
Make it 1. You are generating too many errors to be able to see what the error is.

Have you considered using the import facility to upload the file to your WF environment. It automatically creates the master. It is available under the Master virtual directory.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Gold member
posted Hide Post
You can change the default setting fot IBIF_max_messages in the Client Console. Go to the Configurations-->General tab and change the value to whatever you want. A setting of 0 is unlimited.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
 
Posts: 73 | Location: NY | Registered: February 06, 2007Report This Post
Guru
posted Hide Post
I tested your code and it ran okay.
All that was missing was "SET PCOMMA = ON".
When working with COM formatted files you have to use "SET PCOMMA = ON".
Also, make sure that your FILEDEFS are correct.

  
-* File pull_csv.fex
APP HOLDMETA TESTING
SET PCOMMA = ON
FILEDEF CHGCDXMAS DISK \\servername\\ibi\apps\testing\CHGCDX.mas
-RUN
-*
-WRITE CHGCDXMAS FILENAME=CHGCDX,SUFFIX=COM,$
-WRITE CHGCDXMAS SEGNAME=CHGCDX, SEGTYPE=S0,$
-WRITE CHGCDXMAS FIELD=OCHGCD, ALIAS=E01, ACTUAL=A6, USAGE=A6,$
-WRITE CHGCDXMAS FIELD=FILLER, ALIAS=E02, ACTUAL=A1, USAGE=A1,$
-WRITE CHGCDXMAS FIELD=NCHGCD, ALIAS=E03, ACTUAL=A6, USAGE=A6,$
-*
FILEDEF CHGCDX DISK \\servername\ibi\apps\testing\test.csv
-RUN
-*
TABLE FILE CHGCDX
PRINT
OCHGCD
NCHGCD
END
-RUN
-EXIT 


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report 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] reading from EXCEL to WebFOCUS

Copyright © 1996-2020 Information Builders