STRSQL command

10 pts.
Tags:
CL
CL Program
STRSQL
Can you use the STRSQL command within an AS/400 CL program?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Yes you can, but it will only work interactively. It’s probably better to look at one of the alternatives like RUNSQLSTM.

Regards,

Martin Gilbert.

if you are a heavy SQL shoppe, you may want to develop prototypes in RPG that use strings passed from CL, in order to execute the command.

also, the product by ASC, SEQUEL, will allow you to embed their SQL engine in CL. i’ve used it for years and replaced my OPNQRYF statements in the early ’90s with the SQL commands.

-Sarge

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following