MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  MQ print utility CSQ1LOGP

    Posted Tue November 21, 2023 10:04 AM

    Good Day,

    Please Help when we extract the data from the log file the time is 2 hours behind is the a way to change from GMT to local time.

    we use this utility CSQ1LOGP to extract the LOGS it is in GMT how can i change this parameter to local time in the JCL here is the JCL below

    //PRTLOG EXEC PGM=CSQ1LOGP,PARM='TIME(RAW)'

    Regards

    Ernest Matjane



    ------------------------------
    Ernest Matjane
    z/OS and MQ Junior system programmer
    SITA
    Pretoria
    0126721011
    ------------------------------


  • 2.  RE: MQ print utility CSQ1LOGP

    Posted Wed November 22, 2023 01:28 PM

    The log print utility (CSQ1LOGP) on z/OS - IBM Documentation says

    /PRTLOG EXEC PGM=CSQ1LOGP,PARM='TIME(RAW)'
    
    This causes timestamps to be formatted without applying timezone or leap second offsets for the formatting system. You can use this mode of operation when formatting log data created at a remote site, or before a daylight saving time change, for example.

    If no parameter is specified, the default behavior is to format timestamps using the timezone and leap second corrections of the system doing the formatting.

    Formatted times affected by this parameter are those associated with:
    • checkpoint time
    • restart time
    • UR start time

    What timestamps are you interested in?  Why?



    ------------------------------
    bruce2359
    Consultant/trainer
    CTTECH - Computer & Telecommunications Technology
    West Coast, almost
    000-000-0000
    ------------------------------



  • 3.  RE: MQ print utility CSQ1LOGP

    Posted Thu November 23, 2023 01:59 AM

    Hi Bruce,

    Many thanks Bruce! We wanted the logs with Local time, I removed the parm and run the job this morning and the logs is in local time.

    Regards 



    ------------------------------
    Ernest Matjane
    z/OS and MQ Junior system programmer
    SITA
    Pretoria
    0126721011
    ------------------------------