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  iWay Software Product Forum on Focal Point    [SOLVED] Datamigrator Excel sheets

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Datamigrator Excel sheets
 Login/Join
 
Gold member
posted
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
 
Posts: 87 | Registered: February 27, 2009Report This Post
Guru
posted Hide Post
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
 
Posts: 487 | Location: Toronto | Registered: June 23, 2009Report This Post
Gold member
posted Hide Post
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
 
Posts: 87 | Registered: February 27, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] Datamigrator Excel sheets

Copyright © 1996-2020 Information Builders