Is it possible to embed SQL statements within a CL program? If so, how?
Unfortunately, no. You can run some SQL statements from a CL program with the command RUNSQLSTM. The statements would be in a source member. However, the statements you can run from such an environment are quite limited.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on RPG iSeries programming
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.