Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Pick the latest file in a given folder used in IICS synchronization task, using a batch script?
Content
The attached document is a batch script to pick the latest file placed in a given folder and to use that file in a DSS task .A quick synopsis of what is in the document is as follows:
The batch script can be called from the Preprocessing Commands in step 6 of a DSS task.
The first command sorts all files by date (In this e.g. all CSV files with names starting with sprinterRequest) in the given folder in descending order.
It then selects the first file after sorting and makes a copy of the file, this new file is renamed to the source file which is provided in Step 2 of the DSS task.

Search tags:pick latest file​​​
More Information

Reference
Attachments

Applies To
Product: Cloud Data Integration
Problem Type: Configuration; Product Feature
User Type: Developer; Administrator
Project Phase: Configure; Implement
Product Version:
Database:
Operating System:
Other Software:
Industry:
Applications:
Velocity Phase: Build
Velocity Packages:
IPS Document Type: Tips-Tricks-Examples
Last Modified Date: 3/29/2020 9:46 PM ID: 309870
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)