What is the error?
What symptoms are you seeing?
Is this a batch or interactive job?
If there are CPF messages, they will guide you
All work on an IBM i has a joblog, at some point this job will have ended. find the joblog and see what it tells you.
We need more information to provide a correct solution.