You can create a shell script on the environment that takes one input parameter for the .prog filename. Let’s call the shell script prog.sh. This is the content of it.
name=`echo $1 | cut -f1 -d'.'`
ln -s $FND_TOP/bin/fndcpesr $name
This script takes a filename and extracts the name without extension and runs the soft link command. You would call this script from Stat generate command and pass the %%TARGET_OBJECT_NAME%% to it, like this:
/home/applmgr/prog.sh %%TARGET_OBJECT_NAME%%
Make sure to chmod 777 prog.sh for the script to execute