Hi, I'm trying to use the documented feature in docker hub which is the ability to provide any custom script in '/var/custom/' directory.
I'm adding a few .sql and a .sh script. From the script I'm trying to do:
su db2inst1 -c '/database/config/db2inst1/sqllib/bin/db2 -stvf /tmp/myscript.sql'
(In my dockerfile I'm changing the file permissions to 777 to both files, script and sql).
Everytime it tries to run the script I get the error:
SQL10007N Message "-1390" could not be retrieved. Reason code: "3".
Hopefully you can help me out.
Thanks!
------------------------------
JOSUE CORNEJO GALICIA
------------------------------
#Db2