Base compiler program in SQLRPGLE

352580 pts.
Tags:
Compiler
SQLRPGLE
I'm writing a compiler program in SQLRPGLE that will be used in a lot of programs that will run throughout my system. Obviously, I want to get it right so that I don't have a bunch of problems down the road, and right now it doesn't work.  Could you take a look at what I'm trying to do and suggest places where it could be improve, or point out something I've done wrong?
H some h specs
    D a load of d specs

    /free
Then the metaprogram is added, which brings in a lot more code:
    /copy *libl/qrpgleref,myRefPgm

      lots of nice rpg and sql

    /end-free

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.

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

Discuss This Question: 3  Replies

 
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
  • CharlieBrowne

    What do you mean when you say a "compiler" program?

    Your sample does not give us much to comment on.

    Have you actually tried to do this task? If so what are your questions. If not, give it a try and let us know what problems you encounter.

    41,430 pointsBadges:
    report
  • philpl1jb
     it doesn't work?  What is happening?
    51,365 pointsBadges:
    report
  • TomLiotta
    I agree with CharlieBrowne. There is nothing posted that can be commented on. We don't know what a "compiler program" is in this context. What will you be compiling? How will your program write the *MODULE or *PGM objects? What are the H-specs, D-specs and other code in your "compiler program"? -- Tom
    125,585 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.

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