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

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.

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.

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

Following

Share this item with your network: