Adding date to file

I want this:

0.0230769,0.407692,0.307692,0,0.1,1.4,1,0,ADD DATE HERE,

im getting this:

11/02/12
0.00192308,0.0269231,0.0192308,0,0.1,1.4,1,0,

my script:

#!/bin/ksh

DIR=/export/home/yani_m/scripts/scrip_out_put/
DIR2=/export/home/yani_m/scripts/scrip_out_put/calc/
Date=$1
File22="disk_"$Date
Server=$2
iofiles=$DIR"/*"$Date"*_Ynr.dat"
gzipedfile=$File22".gz"

#SERVER2C       : ./test.ksh 20120716 NLEMM02
grep  c[0-9]t[0-9]d[0-9] $iofiles >> $DIR2/$File22
grep $Server $DIR2/$File22 |cut -d : -f 2 |cut -d , -f 1,2,9,10 | nawk  -F "," 'BEGIN {Date=system("date  +%D")}{sumr=0;sumw=0;busy=0;wait=0}{sumr=sumr+$1}{sumw=sumw+$2}{wait=wait+$3}{busy=busy+$4}{maxr=$1  ; maxw=$2;maxb=$4 ;maxwe=$3}$1>=m
axr {maxr = $1} $2>=maxw {maxw = $2}$3>=maxwe {maxwe = $3}$4>=maxb {maxb = $4}
END{print sumr/NR "," sumw/NR ","  busy/NR "," wait/NR "," maxr "," maxw  "," maxb "," maxwe  ","}'>>/export/home/yani_m/scripts/FILE_TO_LOAD.dat
gzip $DIR2/$File22


please help guys

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

Continue here:

The UNIX and Linux Forums.