I am running unix shell script using os-command statement with silent option.
Since there are errors while executing unix command and these error directory coming on putty/terminal screen.
h_command = SUBSTITUTE("/uhome/dslayad/readfile.sh &1 &2 &3 > &3.err", h_search_type, h_search_value, h_file_name).
OS-COMMAND SILENT VALUE(h_command).
i need to stop these error from displaying on terminal.
Error:
awk: Input line S:\source\develop\wc cannot be longer than 3,000 bytes.
The input line number is 19.
The source line number is 1.
awk: Input line S:\source\develop\wc cannot be longer than 3,000 bytes.
The input line number is 150.
The source line number is 1.
cat: Cannot open /u1/pwrbrkr/source/develop/web/iqpr/list/iqgc__x.x: Permission denied
cat: Cannot open /u1/pwrbrkr/source/develop/web/iqpr/list/iqghcax.x: Permission denied
h_command = SUBSTITUTE("/uhome/dslayad/readfile.sh &1 &2 &3 > &3.err 2>/dev/null", h_search_type, h_search_value, h_file_name).