Focal Point
[SOLVED] Datamigrator Excel sheets

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/9137020376

October 09, 2014, 04:31 PM
ray_In_Vancouver
[SOLVED] Datamigrator Excel sheets
how do I check for multiple spread sheets in a directory before starting flow. All sheets must be there or do not import any data. this will be on a schedule.

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


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server
October 20, 2014, 10:22 AM
Tamra
Hi Ray,
Since there has not been any response to your question, can you please be a bit more specific with what you are trying to do? Are you trying to check for multiple excel files to import one at time into Data Migrator? Are you indicating that this "check" will be scheduled.

Thank you your response. By adding a bit more information on what you are trying to do this will help with searching for a possible resolution.

Kindest regards,
Tamra Colangelo
iWay Focal Point Forum Moderator


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
October 20, 2014, 04:52 PM
ray_In_Vancouver
state \\prjrepro\prjrepro_nfs\cssbau\car_bv.mas
-RUN
-TYPE &RETCODE is retcode

&RETCODE will be 0 if the file exists and -1 if it doesn't. So you could use
it such as:

state \\prjrepro\prjrepro_nfs\cssbau\car_bv.mas
-RUN
-IF &RETCODE NE 0 THEN GOTO NOT_THERE;

state \\prjrepro\prjrepro_nfs\cssbau\dimitri.fex
-RUN
-IF &RETCODE NE 0 THEN GOTO NOT_THERE;

state \\prjrepro\prjrepro_nfs\cssbau\create_tables.fex
-RUN
-IF &RETCODE NE 0 THEN GOTO NOT_THERE;

-TYPE files are all there
-EXIT

-NOT_THERE
-TYPE a file is missing
-EXIT


Thanks got the ans


IWay SM 5.6, 6.01, 6.1, 6.9, 7.0
EDI, XML, XSD, WF 8.0, DM 77,8.0 asp.net, SQL Server