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 exporting the report in Excel format, but in our TEST env, it works fine, however in our UAT and PROD env, it errors out.
Here are the error messages.
(FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: tmp_cmd (FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: tmp_cols . . . (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: NEWFILE 0 ERROR AT OR NEAR LINE 1 IN PROCEDURE tmp_colsFOCEXEC * (FOC003) THE FIELDNAME IS NOT RECOGNIZED: COL000000001 BYPASSING TO END OF COMMAND (FOC009) INCOMPLETE REQUEST STATEMENT
Here is the area of code where its erroring out.
TABLE FILE HOLD PRINT COMPUTE SEQ/A9 = EDIT(LIST); NOPRINT COMPUTE COLNAME/A255= 'COL' | SEQ; BY LIST NOPRINT ON TABLE NOTOTAL ON TABLE SET HOLDLIST PRINTONLY ON TABLE HOLD AS tmp_cols END
-* Looks like this: -WRITE NEWFILE FIELDNAME=COL000000008, TITLE='Mar, 2011', USAGE=I11, ACTUAL=A11,$ TABLE FILE HOLD PRINT COMPUTE SEQ/A9 = EDIT(LIST); NOPRINT COMPUTE CMDLINE/A255= '-WRITE NEWFILE FIELDNAME=COL' | SEQ |', TITLE=''' | DAT4_TITLE | ''', USAGE=I11, ACTUAL=A11,$'; BY LIST NOPRINT ON TABLE NOTOTAL ON TABLE SET HOLDLIST PRINTONLY ON TABLE HOLD AS tmp_cmd END -Run
-* create MFD for transposed data structure called NEWFILE. -SET &MAS_File = '&IBI_APP_ROOT.EVAL/NEWFILE.mas'; APP FILEDEF NEWFILE DISK &MAS_File.EVAL -RUN
-* create transposed data file. TABLE FILE MONTHLY_DATA SUM TOTALCOUNT/I11 BY SubjectStatus ACROSS DAT3YY NOPRINT ACROSS DAT1M NOPRINT ACROSS DAT4_TITLE ON TABLE SET ASNAMES ON ON TABLE SET HOLDLIST PRINTONLY ON TABLE SAVE AS NEWFILE END
-RUN
I can't seem to figure out the cause of the issue. Any help is appreciated.This message has been edited. Last edited by: <Kathryn Henning>,
? HOLD tmp_cols ! DIR -EXIT 0 NUMBER OF RECORDS IN TABLE= 65 LINES= 13 0 NUMBER OF RECORDS IN TABLE= 13 LINES= 13 0 NUMBER OF RECORDS IN TABLE= 13 LINES= 13 0DEFINITION OF HOLD FILE: tmp_cols 0FIELDNAME ALIAS FORMAT COLNAME E01 A255 sh: DIR: not found.
so the hold "tmp_cols" does get created, but when using -INCLUDE tmp_cols, it does not find it. I don't have in depth knowledge with WebFocus, do you guys know what the cause might be?
In my experience, -INCLUDE is not able to use files from EDATEMP. I don't know why.
Perhaps it's just a matter of setting the correct PATH env. variable somewhere. Perhaps you need to specify the full path for -INCLUDE to use such a file. Or perhaps dialog manager is just too simple and you need to store the files within the APP directory that you're working in (which breaks concurrency for such files, BTW) before dialog manager can use them.
Most likely, we're both missing a relevant piece of information to make dialog manager work correctly with files in EDATEMP. It would be nice if WF was set up like that by default, though...
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :