You must preface every file with the correct path if you are running from the crontab. I like to set an environment variable at the beginning of the script to define my directory and then preface the entries in the script with that environment variable.

For example:
#!/bin/ksh
SCRIPT_DIR=/u01/scripts
awk -f $SCRIPT_DIR/program1 $SCRIPT_DIR/filename > $SCRIPT_DIR/filename2
awk -f $SCRIPT_DIR/program2 $SCRIPT_DIR/filename2 > $SCRIPT_DIR/scriptfile
ksh $SCRIPT_DIR/scriptfile