Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
mdadik Absent Member.
Absent Member.
475 views

Delemited text driver : Rename final file extension ?

Hello,


Is it possible to rename the csv file processed by the delemeted text driver according to whether there is an error or not in the processing of a record.
Would like to rename the file in
.done when there is no error.
.warn if a non-blocking error is encountered
.fail if a blocking erroris encountered.

Did someone have done it already ?
Thanks for your help !!

Kind regards,

mdadik
Labels (1)
0 Likes
5 Replies
Knowledge Partner
Knowledge Partner

Re: Delemited text driver : Rename final file extension ?

Hi mdadik,
As you know, by default, DT driver rename .csv file to .bak.
It can be interesting driver extension for Stephan's DT driver.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Delemited text driver : Rename final file extension ?

On Mon, 24 Apr 2017 10:04:02 +0000, mdadik wrote:

> Hello,
>
>
> Is it possible to rename the csv file processed by the delemeted text
> driver according to whether there is an error or not in the processing
> of a record.


In the stock DelimText driver, no.


> Would like to rename the file in
> .done when there is no error.
> .warn if a non-blocking error is encountered .fail if a blocking erroris
> encountered.


Have you looked at the generic file driver?

http://vancauwenberge.info/#home

If Stefaan's driver can't already do what you need, maybe he'd be willing
to add it.


--
David Gersic
Knowledge Partner http://forums.microfocus.com
If you find this post helpful, please click on the star below.
0 Likes
Highlighted
mdadik Absent Member.
Absent Member.

Re: Delemited text driver : Rename final file extension ?

Thanks al_b and David for your replies, I'm going to have a look into this driver.

What about NetIq support with this generic file driver ?
0 Likes
Knowledge Partner
Knowledge Partner

Re: Delemited text driver : Rename final file extension ?

There is none, at least not with the shim itself, though in my experience
that's not a problem, and since the driver itself is open source, the
support options are otherwise vastly superior.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Delemited text driver : Rename final file extension ?

On 4/26/2017 7:00 AM, ab wrote:
> There is none, at least not with the shim itself, though in my experience
> that's not a problem, and since the driver itself is open source, the
> support options are otherwise vastly superior.


Also Stefaan seems like a really nice guy. He fixes stuff as it comes
up, whichi s nice.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.