RPG SQL Nomain Module with DSPF

Tags:
AS 400
PGM
RPG
SQL
I have Cycle Program with embedded SQL that updates table using display file. What do I have to do to create a module, so it will be compiled to *PGM object?


Software/Hardware used:
RPG SQL Module using Display File
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
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.
  • TheRealRaven
    First, make sure that it uses only ILE features. Then compile with the CRTSQLRPGI command specifying OBJTYPE( *PGM ).

    ILE objects always compile as *MODULEs. Compiled *MODULEs may be bound into *PGMs or *SRVPGMs. Some commands such as CRTSQLRPGI will compile a *MODULE and then do the binding effectively in a single step.
    34,320 pointsBadges:
    report

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: