Would like to not create an empty csv file

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

dsadmos
Premium Member
Premium Member
Posts: 5
Joined: Mon Apr 02, 2012 2:57 pm

Post by dsadmos »

Is this still true that the Sequential File Stage in the "Output" mode will always create a file?
I almost think that there was an environment variable to prevent it from creating an empty file when no records are present. Wrong?

Working in DataStage 11.5
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yup, still true and I don't see that ever changing.
-craig

"You can never have too many knives" -- Logan Nine Fingers
UCDI
Premium Member
Premium Member
Posts: 383
Joined: Mon Mar 21, 2016 2:00 pm

Post by UCDI »

it should be easy enough to know if you wrote any data and if not, delete the file?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That's basically what the three previous pages are about. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply