COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: sakthivelmani on 16 Nov 2016 12:44:41 PM

Title: Produce fixed width flat file in Cognos
Post by: sakthivelmani on 16 Nov 2016 12:44:41 PM
Hello all,

Is it possible to produce a fixed width flat file in Cognos ?  I know I can produce a comma delimited flat file, that won't work for what I need.  Please let me know if you have any ideas. Thanks
Title: Re: Produce fixed width flat file in Cognos
Post by: BigChris on 17 Nov 2016 01:54:57 AM
You can concatenate fields together and pad them if you need a specific number of characters.
Title: Re: Produce fixed width flat file in Cognos
Post by: bdbits on 17 Nov 2016 09:13:52 AM
You can probably rig something up along the lines of what BigChris said.

On the other hand, Cognos is a reporting/BI tool - not a data dump/extraction tool. You are trying to use a drill press as a hammer. You would be way better off using a proper tool for the job.
Title: Re: Produce fixed width flat file in Cognos
Post by: MFGF on 18 Nov 2016 06:04:30 AM
Quote from: bdbits on 17 Nov 2016 09:13:52 AM
You can probably rig something up along the lines of what BigChris said.

On the other hand, Cognos is a reporting/BI tool - not a data dump/extraction tool. You are trying to use a drill press as a hammer. You would be way better off using a proper tool for the job.


^ ^ ^

Yep. Exactly as above. Cognos is an Analytics tool, not an ETL tool.

MF.