how do you code a table in rpg

10 pts.
Tags:
RPG
RPG ILE
RPG IV
I need to code a table in rpg iv. I'm new to rpg and need assistance on coding techniques as it pertains to creating a table in a rpg iv program
ASKED: January 12, 2009  9:14 PM
UPDATED: January 12, 2009  10:01 PM

Answer Wiki

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

Hello Simobam

It sounds like you want to create a table on the AS/400 — i series

This isn’t usually done in RPG – that’s a programming language.

There are two ways to create a table on this system

In SQL — from a prompt line on the green screen – STRSQL

Use SQL create table command. F4 is you want to be prompted for the command.

Older method – write a data descriptive script “DDS” and compile it.

Need to know which you are doing so we can hlep you more.
Phil

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