Change attribute for CLLE program object

1150 pts.
Tags:
CLLE
HI can i change the object attribute for a CLLE program to CLP (as in the case with a CLP we can change it to CLLE). SOmebody plz tell me how we can do that?

Software/Hardware used:
IBM i,V5R4

Answer Wiki

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

Yes..Change the SRCTYPE from CLLE to CLP by taking 13 option in WRKMBRPDM. Then take option 14 to crete the CL program.

Discuss This Question: 7  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
  • ten2008
    sorry to say that i have no source member available with me. I have the object only with me. Now tell me can i change the object type to CLP?
    1,150 pointsBadges:
    report
  • TomLiotta
    The object type is *PGM, not CLLE or CLP. The CLLE/CLP is an object attribute that is set by the compiler. If you want it changed, you should recompile. See if it was compiled with debug data. If it was, you might be able to access a listing view from a debug session. At the very least, that might allow copy/paste of the source. Tom
    125,585 pointsBadges:
    report
  • tjgm88
    You can also use the command RTVCLSRC to retrieve the source and then changes the member's attribute. Cheers.
    995 pointsBadges:
    report
  • ten2008
    Hi Tom, can u tell me how to see the listing if it was compiled with debug data. Tell me also the next step how to access the listing view from debug session? Shall i need to debug the program then? tell me how to proceed..thanks
    1,150 pointsBadges:
    report
  • ToddN2000
    Do a DSPPGM to screen. Hit enter until you get to display 3 of 7. If it's debugable you will see Debug Data *YES. The do a STRDBG command and you should be able to view the source. ex. STRDBG PGM(QTEMP/OEM1) UPDPROD(*YES) Give that a shot
    12,815 pointsBadges:
    report
  • ten2008
    HI TOd, can you plz explain 3 of 7 from display screen of DSPPGM. If i hit 2nd time enter it's taking me out of the command. Thanks
    1,150 pointsBadges:
    report
  • TomLiotta
    If i hit 2nd time enter it’s taking me out of the command. That indicates it's OPM and not ILE. There isn't enough attributes exposed from OPM objects to need more than a couple screens. If the OPM CL program was compiled with ALWRTVSRC(*YES), you can use the RTVCLSRC command. You can try:
    STRDBG PGM( mypgm ) OPMSRC(*YES) DSPMODSRC(*YES)
    If debug source is available, you should see it. If it isn't, the closest you can probably get is with DMPOBJ. Not great, but sometimes useful. 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