Good morning,
In my SQLRPGLE program I have this simple statement:
BegSr SrStrSql;
Eval CmdString = %Trim('RUNSQL SQL((MYSQL))');
Eval OuNmProg = 'QCMDEXC';
Eval CmdLength = 256;
Callp CallerCmd (CmdString:CmdLength);
EndSr;
with a file read loop I update the string MYSTRING
with this instruction:
UPDATE MYFILE SET NRVALUE = NRVALUE+12
when I call the pgm (SQLRPGLE) it fails me at the line containing the statement:
Callp CallerCmd(CmdString:CmdLength);
In my SQLRPGLE program I have this simple statement:
BegSr SrStrSql;
Eval CmdString = %Trim('RUNSQL SQL((MYSQL))');
Eval OuNmProg = 'QCMDEXC';
Eval CmdLength = 256;
Callp CallerCmd (CmdString:CmdLength);
EndSr;
with a file read loop I update the string MYSTRING
with this instruction:
UPDATE MYFILE SET NRVALUE = NRVALUE+12
when I call the pgm (SQLRPGLE) it fails me at the line containing the statement:
Callp CallerCmd(CmdString:CmdLength);
Comment