I am struggling with the problem of running the command list from the QSH scripts.
I've got an external file: test.txt with line as follow
and the QSH script:
I receive
I have tried also
and several others. Do you have any idea how to solve above problem?
I've got an external file: test.txt with line as follow
Code:
system "CHGAUT OBJ('my_obj') USER(*PUBLIC) DTAAUT(*RWX) OBJAUT(*ALL)"
Code:
#!/bin/sh while IFS='' read -r line || [[ -n "$line" ]]; do $line done <test.txt
Character ' 'not valid for following string '"CHGAUT '
Code:
eval $line
Comment