Convert RPGLE to SQLRPGLE

895 pts.
Tags:
RPGLE
RPGLE Program
SQLRPGLE
How do I convert RPGLE program to SQLRPGLE?

Software/Hardware used:
AS400

Answer Wiki

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

There is no “Conversion”
You just change the source member type for RPGLE to SQLRPGLE

Discuss This Question: 4  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
  • TomLiotta
    What do you mean by "convert"? Many RPG (or any other language) programs have no easy analogue in SQL. Many others can be converted but only by making them harder to understand, sometimes much harder. That's why RPG and other languages are still so numerous. Is there a reason behind the question? Technically, you "convert" by coding embedded SQL into the RPG source instructions and processing the source through the SQL precompiler. (The "SQLRPG" and "SQLRPGLE" member types really have nothing to do with it. Those are just indicators for PDM to know how to interpret your option choices.) Tom
    125,585 pointsBadges:
    report
  • rajeshece
    Take Shift F6 from WRKMBRPDM Screen. Change 'Y' to change Type and Text Option. Press Enter. Convert the Source now
    1,215 pointsBadges:
    report
  • ermohit007
    To convert RPGLE program to SQLRPGLE in ALDON use option 16 in front of the object and enter new attibute in Object Attribute field
    10 pointsBadges:
    report
  • TomLiotta
    Take Shift F6 from WRKMBRPDM Screen. Change ‘Y’ to change Type and Text Option. I always leave that as 'N'. If I want to change PDM type or object text, I use option 13=Change text. It causes me much less trouble from accidental changes, and I'm not constantly having to tab past those fields. Regardless, the RPGLE/SQLRPGLE "types" are for the developer tools that can help automate compilations. Most commonly the types are for PDM. They can control the choice of compile command that PDM uses. Other tools, e.g., Aldon, tend to use the same "type" codes. But without knowing what tool is used or without knowing what is meant by "convert", answers can only be guesses. You can use any PDM or other tool "type" (or none) and still successfully compile a source member as RPGLE or SQLRPGLE simply by using the appropriate CRTxxx command, assuming the member has compatible source statements. 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