There is a limit of 50 objects on the command. You would have to reissue the command for each group of 50. Tom.
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
PROBLEM WITH CALL TO QCMDEXC FOR ALCOBJ COMMAND
Collapse
X
-
Problem with call to qcmdexc for alcobj command
I wrote a program that dynamically builds an ALCOBJ command string for multiple members of a file. I put the string in a varying length field, set the varying length field to the length of the string, and then execute the command with a prototype call to QCMDEXC. The problem is that the prototype call to the command only works when I'm allocating 50 members or less. I don't think there is anything wrong with my code so I'm not sure what's wrong. It's an RPGIV program that I compiled to the v5r3 release. Attached is my source code. Does anyone have any idea what could be wrong ?
TST008R.TXT
Comment
Comment