From Sequel Server 2005 I am trying to issue a command to db2/400 using linked server:
exec('call qsys/qcmdexc('OVRDBF FILE(F55125) TOFILE(VGIPRDDTA/F55125) MBR(CO55PC) OVRSCOPE(*JOB)', 0000000071.00000)') at AS400SRV_MSDASQL
Getting syntax error:
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'OVRDBF'.
The connection works and I have tested this using below example "exec('Select * from vgiprddta.F55125.CO55PC') at AS400SRV_MSDASQL
Any ideas?
exec('call qsys/qcmdexc('OVRDBF FILE(F55125) TOFILE(VGIPRDDTA/F55125) MBR(CO55PC) OVRSCOPE(*JOB)', 0000000071.00000)') at AS400SRV_MSDASQL
Getting syntax error:
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'OVRDBF'.
The connection works and I have tested this using below example "exec('Select * from vgiprddta.F55125.CO55PC') at AS400SRV_MSDASQL
Any ideas?