Hi,
I am running a BTEQ script in which I am appending heading as follows:
.set heading 'HDR99001||&date'
it appends at the header this:
HDR001 03/28/2004
then I have my sql which outputs 100 records it can be > 100 or <100 based on the data(any number)
at the end of sql output I want to add a footing which should have the following syntax:
'TRL99000000( where 000000 should be replaced with actual count of records received in the above sql.
For Example if I get 100 records then the footing should be as follows:
TRL99000100
if records count is 88 then
TRL99000088
Any solution please?
thanks
I am running a BTEQ script in which I am appending heading as follows:
.set heading 'HDR99001||&date'
it appends at the header this:
HDR001 03/28/2004
then I have my sql which outputs 100 records it can be > 100 or <100 based on the data(any number)
at the end of sql output I want to add a footing which should have the following syntax:
'TRL99000000( where 000000 should be replaced with actual count of records received in the above sql.
For Example if I get 100 records then the footing should be as follows:
TRL99000100
if records count is 88 then
TRL99000088
Any solution please?
thanks