ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Change object attribute

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change object attribute

    How do you change object attribute of a library such as 'System created on...'? Some tools found on the web do not seem to include this - any chance?

  • #2
    Re: Change object attribute

    You cannot change the object creation/change date. it will be stored in IBM system files.
    Thanx
    satish
    Anyone who has never made mistake has never tried anything new.

    Comment


    • #3
      Re: Change object attribute

      Thanks Satish... but I was actually referring to the 'System created on' attribute. If you do a 'wrkobj' and taking option 8, you see something like :

      Creation date/time . . . . . . . . : 02/12/03 18:39:27
      Created by user . . . . . . . . . : *IBM
      System created on . . . . . . . . : 00000000
      Object domain . . . . . . . . . . : *USER

      I've seen some programs with blank on the 'System created on' instead of the name of the system where object was compiled from (or created)? Any chance it can be changed?

      Regards.

      Comment


      • #4
        Re: Change object attribute

        like satish said, nope.
        Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

        Comment


        • #5
          Re: Change object attribute

          Originally posted by jigjog View Post
          Thanks Satish... but I was actually referring to the 'System created on' attribute. If you do a 'wrkobj' and taking option 8, you see something like :

          Creation date/time . . . . . . . . : 02/12/03 18:39:27
          Created by user . . . . . . . . . : *IBM
          System created on . . . . . . . . : 00000000
          Object domain . . . . . . . . . . : *USER

          I've seen some programs with blank on the 'System created on' instead of the name of the system where object was compiled from (or created)? Any chance it can be changed?

          Regards.
          just an FYI any object with a Created by user *IBM should not be tampered with! most of these objects are a part of the base OS (and other IBM packages) tamper with them at your own peril
          I'm not anti-social, I just don't like people -Tommy Holden

          Comment


          • #6
            Re: Change object attribute

            The example I gave was an IBM object - but the ones I saw on our system with blank 'System created on' attributes are actually non-IBM programs. I did not mean to 'tamper' the IBM objects. I was auditing user programs and found some where the said attribute is blank - and got curious how such objects were created!? I guess the bottomline is that I won't get an answer from here.

            Thanks guys for the response anyway.

            Cheers!

            Comment


            • #7
              Re: Change object attribute

              Originally posted by jigjog View Post
              The example I gave was an IBM object - but the ones I saw on our system with blank 'System created on' attributes are actually non-IBM programs. I did not mean to 'tamper' the IBM objects. I was auditing user programs and found some where the said attribute is blank - and got curious how such objects were created!? I guess the bottomline is that I won't get an answer from here.

              Thanks guys for the response anyway.

              Cheers!
              unfortunately you got the answer from here...that answer is there IS no way to do this short of recreating the object itself. the closest you could get would be using CHGOBJD or the Change Object Description (QLICOBJD) API...neither will allow the change to the system created on. don't believe us? call IBM

              as to why those objects do not have the system created on in the object description means that observability has most likely been removed (most 3rd party vendors do this to protect their investments!)
              I'm not anti-social, I just don't like people -Tommy Holden

              Comment


              • #8
                Re: Change object attribute

                Originally posted by satish View Post
                You cannot change the object creation/change date. it will be stored in IBM system files.
                FYI...it's not stored in the system files but is embedded into the objects themselves
                I'm not anti-social, I just don't like people -Tommy Holden

                Comment

                Working...
                X