Skip to main content
Nov 18, 2014 7:32 PM UTC
Question

Implementer Promoting member with type Code changed

Checked out and locked source member of code type RPG, then converted to RPGLE and now need to promote up entity that is a different type code of RPGBND, how do I accomplish this? I recall I use to do this with F7=Fold and could change the object code type there while keeping my lock. Check out as one type and check in as different type... Member name stays the same... how do I accomplish this... am on Implementer release 2005

    3 replies

    Nov 18, 2014 7:41 PM UTC

    If you look in the User Guide, there is a full explanation of how to do this. You have to check out the RPGBND as a Create and the RPG as a delete.

    You are also on a release of Implementer that has not been supported for many years. The oldest release we currently support is 2010.

    Please request an upgrade by going to the PTC website.

    Nov 18, 2014 7:44 PM UTC

    We have an article on this topic: 127578

    How to convert existing object from one object code to another in Implementer

    • Check out object as different object code
    • Convert existing object from one object code to another

    • Implementer all releases

    • Conversion from one programming technique or database file type to another

    1. Object code sequence (option 44) of original object must have lower sequence number than object code being converted to
    2. On the same checkout panel
      • Check out object with original object code with Action 3 for delete
      • Check out same object name with new object code
        • If old & new object codes use same source file, Action should be 1 for change
        • If old & new object codes use different source file, Action should be 2 for create
        • If converting to ILE (or service program) will need 2 new object checkouts for module and ILE program (or service program) object codes
        • Take option 2 for Change detail on new objects & set Allow type/attr change to 'Y'
    3. Change source member type via PDM on new objects
    4. If converting RPG must convert RPG source after checkout
      • CVTRPGSRC FROMFILE(<FROMSRCLIB/FROMSRCFIL>) FROMMBR(<OBJECT NAME>) TOFILE(<TOSRCLIB/TOSRCFIL>) TOMBR(<OBJECT NAME>)
    5. Promote both old and new through full promotion process, keeping them on same request
      1. For each request up the path, take option 2 for Change detail on new objects & set Obj attr source to '2'
    Nov 18, 2014 8:37 PM UTC

    Thank you for help even though I'm on such an old, unsupported release. Got this figured out using F7=Fold on Checkout where I set the Allow Type/Attr Chg to Y