I frequently create reports by spooling to a txt file creating long lists up to thousands of lines long.
When I spool to a file all the lines are double spaced. For example:
001.4222 HAG 3604373822
001.4222 MAI 3604350213
but I want
001.4222 HAG 3604373822
001.4222 MAI 3604350213
Is there a setting to make this work?
I have several sql reports that do no double space and some that do. I have looked at example od both queries and am unable to find anything that would explain the difference.
Is this an issue to do with line size and the definition of my columns?
I have:
set echo off
set pause off
set heading on
set pagesize 50000
set linesize 400
set feedback off
set show off
set termout off
set on 2 separate queries. One returns double spaced lines and the other does not. [note that large pagesize and linesize - these values for testing purposes]
My column settings for my problem reports are:
column clnum format a17 heading "Class No."
column bar format a11 heading "Barcode"
column title format a40 heading "Title"
column stat format a6 heading "Status"
break on REPORT skip 4
compute count label 'Num of Items:' of bar on REPORT
As you can see the column size total will no exceed my linesize setting of 400.
Can anyone give me a hand on this? It seems like a trivial problem but I just cant see it.
Thanks
When I spool to a file all the lines are double spaced. For example:
001.4222 HAG 3604373822
001.4222 MAI 3604350213
but I want
001.4222 HAG 3604373822
001.4222 MAI 3604350213
Is there a setting to make this work?
I have several sql reports that do no double space and some that do. I have looked at example od both queries and am unable to find anything that would explain the difference.
Is this an issue to do with line size and the definition of my columns?
I have:
set echo off
set pause off
set heading on
set pagesize 50000
set linesize 400
set feedback off
set show off
set termout off
set on 2 separate queries. One returns double spaced lines and the other does not. [note that large pagesize and linesize - these values for testing purposes]
My column settings for my problem reports are:
column clnum format a17 heading "Class No."
column bar format a11 heading "Barcode"
column title format a40 heading "Title"
column stat format a6 heading "Status"
break on REPORT skip 4
compute count label 'Num of Items:' of bar on REPORT
As you can see the column size total will no exceed my linesize setting of 400.
Can anyone give me a hand on this? It seems like a trivial problem but I just cant see it.
Thanks