Change program date in qsys

5 pts.
Tags:
AS/400
What makes the change date change in lib qsys for programs?
1

Answer Wiki

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

Are you looking to change the system wide date ? If so that is a system value that can be changed if you have the authority. The command is CHGSYSVAL and it gives many options beside the QDATE for the date.

Discuss This Question: 17  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.
  • azohawk
    A little more explanation of what you are trying to do might allow us to give you more help.
    4,015 pointsBadges:
    report
  • Brijesh
    Here check this https://itknowledgeexchange.techtarget.com/itanswers/as400-system-time-and-date/ 
    14,450 pointsBadges:
    report
  • TheRealRaven
    It depends on the program. It might change from a PTF, it might change if a SQL plan is updated in the program, or it might be other reasons. More specific details about an actual change might lead to a useful answer.
    33,610 pointsBadges:
    report
  • ToddN2000
    You can also change it for that one job by using the SBMJOB and specifying a different job date.
    129,440 pointsBadges:
    report
  • TheRealRaven
    The question appears to be asking about the "change date" on *PGMs in QSYS and why it changes on various *PGMs. Maybe the OP can explain better.
    33,610 pointsBadges:
    report
  • jdmwoodbine
    IBM ISERIES V6R1 -What I am trying to find out - for our AUDITORS, is that a change date to a system PGM does NOT mean that the program changed just that it was viewed, or indexed, or used. The Create date should represent the last time the pgm was compiled and that is what should be their focus.
    any IBM literature, or Redbook would help. Thanks.
    70 pointsBadges:
    report
  • jdmwoodbine
    ALSO how do you edit the original post here?
    70 pointsBadges:
    report
  • ToddN2000
    Unfortunately, you cannot edit a post. What command are you using to see the program date? Are you looking at the program object or the source code file and member for that program?
    129,440 pointsBadges:
    report
  • jdmwoodbine
    I used the dspobjd lib qsys, object type *pgm with change dates in 2014.

     Are you looking at the program object or the source code file and member for that program ? 
    70 pointsBadges:
    report
  • jdmwoodbine
    Its a q pgm so I can not see the source code, just that it was created on our system.
    Example:
    QOECMWRK *PGM created in 2011 in QSYS changed July 17 2014. Other objects similar have changed dates,
    Could it be because of adopted authority? At that time I was working with a tech, trying to fix our websphere, ending certain TCP functions. Can "use" of other functions like go tcpadm create a change?
    70 pointsBadges:
    report
  • ToddN2000
    If you want a full description of the change date, do the DSPOBJD and scroll down to the change date. Put your cursor on the date and hit F1 the F2 for full description. Then scroll down to the change date details.
    129,440 pointsBadges:
    report
  • TheRealRaven
    Before going much deeper, please review the http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_61/rzarl/rzarlrelationtoaud.htm?lang=en sub-topic in the IBM Information Center. Your auditors generally shouldn't care about an object's 'Last change date'. It isn't intended to use for auditing and it doesn't tell them what they want.

    If your auditors need to audit objects in QSYS, they should use the system audit functions.
    33,610 pointsBadges:
    report
  • jdmwoodbine
    That's what we told them! System audit functions...like journals? But qsys isn't journaled.

    They want audit iseries OS pgms. We have used qsys for 15 years, now they are getting picky.
    70 pointsBadges:
    report
  • ToddN2000
    It should be an easy answer but one they may not like. 
    If you do not have the code for the OS how can I change it ???

    According to IBM extended help

    Change Date/Time                                                        
                                                                            
        For most objects:                                                   
                                                                            
            Indicates the date and time of the last change to the object.   
                                                                            
            There are automatic operations done by the operating system that can cause the change date/time field of an object to be updated.
            For example, when an object is deleted for which a user profile has private authority, the system will update the change     date/time field of that user profile as it removes that private 
            authority.                                                      
    129,440 pointsBadges:
    report
  • jdmwoodbine
    We gave them that extended help answer too.
    70 pointsBadges:
    report
  • jdmwoodbine
    So next question is provide evidence what was changed.
    70 pointsBadges:
    report
  • TheRealRaven
    If you have audit journaling active, even QSYS is automatically included. Audit journaling does not work on a library-by-library basis.
    33,610 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.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: