How to display the SQL query results on SDA screen?

20 pts.
Tags:
AS/400 development
RPG
Screen Design Aid
SQL/400
I got an answer for how to embed the SQL statements in RPG program. Can you please help me with how to use these values in the program, or display them on the SDA screen??? Thank you. :)
ASKED: October 14, 2008  8:58 AM
UPDATED: October 14, 2008  12:38 PM

Answer Wiki

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

Hi,

The values you recieve as a result of an SQL statement referenced as :fieldname in the SQL statement can be used without the : in your RPG program. You will need to define these fields on your SDA screen – once they’re defined you can execute your SQL statement to fill them, then write/exfmt your SDA record format as usual.

Regards,

Martin Gilbert.

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