HomeForum
Welcome, Guest

Creating directories
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Creating directories

Creating directories 1 year, 4 months ago #1354

Hi Mike

I have a question please concerning the setting up of the CSV export file names that currently are created from the extract runs.

I have built an output format that utilises input from a Set Variables object and also the Package variable <datetime> variable.

The requirement is to enable the 25 CSV files from each Extract run to be placed into a folder whose name matches the day of the month folder E:\ETL\MY_L03

– there are 31 folders set up.

The actual file name generated is as follows – MY_CheckLog20110113030106

<datetime> Package variable generates an entry as yyyymmddhhmmss

MY_CheckLog20110113030106

What I have been trying to do is effectively cut back the <datetime> to just yyyymmdd

I have tried using a LeftString function but it does not work – do you of an approach that could prove the reduced file name?

Thank you for your assistance,
Regards

Re: Creating directories 1 year, 4 months ago #1357

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2174
  • Karma: 12
Phil

There is another function you can use.

GetSystemDate('DD')

GetSystemDate('DDMMYYYY')

ETC

Mike
  • Page:
  • 1
Time to create page: 0.16 seconds

Testimonials

Well this great product and I’ve ever seen …. Yet.

Inexpensive
User friendly
Trusted and Reliable
Best features
Great support
Very fast and best performance
Recommend for all groups (small, medium, large / enterprise)

C Gandhi
Nesa-Canada

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top