printf error: "not enough parameters in printf statement"

view full story

http://www.unix.com – Hi All, I am getting the following error when trying to run my script: Code: awk: 0602-565 There are not enough parameters in printf statement "BARCLAYS BANK 14%VRN PERP",.  The input line number is 84. The file is /data/IIS/DSWorkSpace/Projects/FdwCidRdata/Operations/Staging/Flatfiles/01Valid/ICON_NILDAMFIPF_20100528_054500_Tribal.csv.  The source line number is 30. The chunk of script in question is: Code: #!/usr/bin/ksh # Set the header and input files from parameters headerfile=$1 inputfilepath=$2 inputdir=$(dirname $inputfilepath) inputfile=$(basename $input (HowTos)