In "Informix language" what are you doing is "adding a chunk to a (psapbtab) dbspace".
I think there is some error with opening file "/informix/CAP/sapdata/physdev3/data31"
So, in Informix world, if you want to add some chunk to a dbspace, first you must "prepare" storage - meaning create cooked file or raw device. In your case I suppose you're using cooked files and you must prepare file for adding it as chunk
as user
root:
in your case:
Code:
touch /informix/CAP/sapdata/physdev3/data31
still as user
root:
Code:
chmod 660 filename; chown informix.informix filename
in your case:
Code:
chmod 660 /informix/CAP/sapdata/physdev3/data31; chown informix.informix /informix/CAP/sapdata/physdev3/data31
next try as user
informix if you have permission on directories to that file:
in your case:
Code:
touch /informix/CAP/sapdata/physdev3/data31
if you get
permission denied error than you have to look directories permissions.
At the and you can run your onspaces command.
HTH