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] SAVE DATA USING FILEDEF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] SAVE DATA USING FILEDEF
 Login/Join
 
Master
posted
Hi,

I am trying to hold the data in my server to do the report directly against that data. But unfortunately I am not able to store the data and always getting "File doesn't exist" error.

My code will be like


-SET &DIR='\\SERVER\IBI\APPS\BASEAPP';
DOS STATE &DIR.EVAL
-RUN

-IF &RETCODE EQ 0 GOTO DIREXIST;
DOS MD &DIR
-RUN
-DIREXIST

FILEDEF CDSDAT DISK &DIR|CDSDAT.FTM
-RUN

TABLE FILE CAR
PRINT
CAR
BY COUNTRY
ON TABLE HOLD AS CDSDAT
END
-EXIT


Any suggestions/thoughts will be helpful.

Thanks

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


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
<FreSte>
posted
Kamesh,

You are missing a backslash between directory and filename.

Change line into :
-SET &DIR='\\SERVER\IBI\APPS\BASEAPP\';

or change this line into :
FILEDEF CDSDAT DISK &DIR|\CDSDAT.FTM


-Fred-
 
Report This Post
Master
posted Hide Post
Fred,

I have that on my original code. It was just a typo error here.

Thanks


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Virtuoso
posted Hide Post
Is the \\server\path SMB notation allowed in WebFOCUS? Maybe it is, I did not check documentation. When faced with that I try to map a drive letter to it in the reporting server and use X:\path instead.

Anyway, would this alternative perhaps help you?

-SET &DIR='\\SERVER\IBI\APPS\BASEAPP\';

APP MAP MYPATH &DIR
APP HOLDDATA MYPATH
-RUN

TABLE FILE CAR
PRINT
CAR
BY COUNTRY
ON TABLE HOLD AS CDSDAT
END
-RUN

-DOS dir &DIR



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report 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] SAVE DATA USING FILEDEF

Copyright © 1996-2020 Information Builders