CLE v/s CLP

85 pts.
Tags:
CLLE
CLP
What is the difference between CLE and CLP ?????

Software/Hardware used:
AS400

Answer Wiki

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

Those generally indicate either (1) a *PGM, *MODULE or *SRVPGM object or (2) a source member maintained with PDM.

For a *PGM object, CLE would be a program that had an ILE C program entry procedure. For *MODULE, the module source was ILE C. For *SRVPGM, it seems to reflect just the first module bound in. And CLP indicates OPM CL. The value is the object Extended Attribute, set by the system when the object is created. The value comes from whatever compiler (or other creation facility) created the object.

For a source member, it is simply a convention that is used by PDM (and SEU) to determine which editor rules will be applied and compiler will be called. You can actually put any sequence of letters you choose. It’s just that things are easier for PDM (and SEU) to do things automatically if you mark members with the pre-defined attributes.

Also, I assume that the question is really about “CLLE” rather than “CLE”. The difference between CLLE and CLP is that CLLE indicates ILE CL while CLP indicates OPM CL. (Note that there may also be “CL” members.)

I would put effort into converting any CLLE objects to CLP. There are few reasons to use OPM CL in the past decade. A program containing TFRCTL for example <i>must</i> be OPM CL. Issues relating to RCLRSC and various OVRxxx commands often require some analysis and possible reworking. A few other considerations apply.

Tom

Discuss This Question: 5  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
  • Steve40048
    The first two sentences of Tom's last paragraph seem to conflict.  Please explain.   -Steve
    50 pointsBadges:
    report
  • philpl1jb

    Although Tom isn't here, I would thing that

    "I would put effort into converting any CLLE objects to CLP. "

    should, I believe, have said:

    "I would put effort into converting any CLP objects to CLLE. "

    Generally that conversion is nothing more than changing the module type and recompiling.  CLLE offers many programming advantages over CLP. CLLE modules can be included when building ILE program objects.

    51,305 pointsBadges:
    report
  • Steve40048
    WOW!  8 min. response time!   Thanks, Phil!   The only advantage to CLP objects is that you can run the old STRISDB debugger on them and you can recover lost source with CVTCLSRC.  So I would only use CLLE where necessary in ILE situations as you outlined in your last paragraph.
    50 pointsBadges:
    report
  • Steve40048
    ...or compile to CLLE as a last step after developing as CLP when needing to use STRISDB initially (if possible).  
    50 pointsBadges:
    report
  • philpl1jb

    CLLE provides structured program .. subroutines, modules, loops (without GO TO). More than one file.

    Debug with the new debugger: STRDBG

    51,305 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