Posted: Mon Aug 31, 2009 3:12 am Post subject: Input file with space only
Centurion
Joined: 16 Feb 2007 Posts: 104
Hi,
I am working on a integration where input file is a fixed length file. I have to put a condition check like if input file has all space then i have to discard the message. How can I do that. Pls help.
Joined: 26 Oct 2006 Posts: 80 Location: Poland, Wroclaw
I think that firoj.badsa doesn't use message set for it and read it as blob then maybe do CAST to CHARACTER type. If you do it like that you could maybe call TRIM on the whole input file and check what is the outcome from it. Should be blank in that case.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum