export ascii - default file target
Mike Schwartz
mschw at athenet.net
Thu Apr 11 21:36:59 UTC 2024
I always put an explicit full path in my export processing tables. For Unix systems, something like:
> If: fa eq ""
> Then: fa="/tmp/export_csv_"{p{".csv"
> 8 ------- - - - - - - - - - - - - - -
> - -
> If:
> Then: export WORD DUMP = (fa)
Is the path being overwritten by something like this in the processing tables?
You might want to re-write your export commands like this, so that you're not so dependent on having the fpmerge subdirectory on your system. On the other hand, I don't know how the fpmerge subdir would have disappeared, unless somebody deliberately removed it.
Mike Schwartz
-----Original Message-----
From: Filepro-list <filepro-list-bounces+mschw=athenet.net at aws-01.celestial.com> On Behalf Of Jose Lerebours via Filepro-list
Sent: Thursday, April 11, 2024 2:19 PM
To: filepro <filepro-list at aws-01.celestial.com>
Subject: export ascii - default file target
Howdy!
RE: filePro 6.1.00.03D6 running on WIN 2022 Standard
A processing which dumps data to CSV using export ascii decided to stop working.
Per documentation, if target file is not an absolute path, the target file is then created in %PFPROG%/fpmerge, in my case, this would be c:\appl\fpmerge.
Couple of observations, fpmerge does not exist - What happens then? Where does the file go?
Is there an fp variable that would override this?
Just for kicks, I changed the export to target c:\appl\fpmerge\jose.csv (after creating fpmerge of course), ran the process and nothing ... file is not created and yet, the export command is executed, data is assigned to columns and the write command is reached.
Where did the export output go?
I searched C:\ for jose.csv and nothing came back, which to me would mean that the file was never created. What gives!?!
Regards,
--
Jose
_______________________________________________
Filepro-list mailing list
Filepro-list at mailman.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list