September 12, 2006, 04:21 PM
YevgeniyOpening existing text files
all I'm trying to do is opening the text file and save them into new file.
and I get this error
(FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: LUMOVE
BYPASSING TO END OF COMMAND
Here is my code
FILEDEF LUMOVE DISK "\\directory\filename.txt"
FILEDEF LUMOVX DISK "&SEND1&filedate&SENDEXT"
FILEDEF PRMOVE DISK "\\directory\filename2.txt"
FILEDEF PRMOVX DISK "&SEND2&filedate&SENDEXT"
-RUN
TABLE FILE LUMOVE
PRINT FIELD1 AS ''
ON TABLE HOLD AS 'LUMOVX' FORMAT ALPHA
END
-RUN
TABLE FILE PRMOVE
PRINT FIELD1 AS ''
ON TABLE HOLD AS 'PRMOVX' FORMAT ALPHA
END
-RUN
-STOP
September 12, 2006, 04:41 PM
PrarieDoes your Text Files have a Master?
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
September 12, 2006, 04:46 PM
LeahAre you running under MRE, if so the directory needs to be on the application server is my understanding of what works.
Leah
September 12, 2006, 05:06 PM
YevgeniyThis is brand new server and there is no Master file. I'm not running this under MRE.
another note we just implemented production enviroments we had test before. Everything works just fine in Test but in production it's not working. I've copied Master files from test to production came up with little different issues. I'm looking what may be access issues. Production server may not have access to files on different servers.
I didn't think you need a master file for just access the text files.
WF version 4.3.6
Windows 2003 running in VM Ware
September 12, 2006, 06:17 PM
Tony AYevgeniy,
If you want to perform a TABLE request then you will need metadata (a.k.a. master file) otherwise it's akin to trying to read a file in COBOL without an FD!
T
In FOCUS since 1986 | WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2 | | |
WebFOCUS App Studio 8.2.06 standalone on Windows 10 | |
September 13, 2006, 11:40 AM
Francis MarianiYevgeniy,
As Tony stated, you need a Master. How would WebFOCUS know what FIELD1 is without a Master?
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