One of the few remaining open to the public IBM i specific forums remaining on the internet. Please stop by, join and meet the largest group of experienced developers on the IBM i.
SYSTEM – API CMD Processor

system() is a runtime C library function that performs the same purpose as the QCMDEXC API. With system() you pass a pointer to the command string and it is executed, no need for the for the command string length. The API is a good