ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

AS 400 Performance Tools - Need help

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

  • AS 400 Performance Tools - Need help

    Hi All,

    I'm new to this forum as well as to AS 400 technology. I've experience in OpenVMS & Mainframe. So far I've asked to work in Mainframe / OpenVMS Performance Tuning activities.

    Now we got a new project in AS 400 where we need to perform Tuning activities.

    I would like to know the following,
    1. Is there any Performance Tools available with AS400?
    2. If yes, please let me know the tool names. Any guidance in this is greatly appreciable.

    As I'm new to this AS 400 technology, I would like to know things from the scrap. So please reply in such a way that I can understand AS 400 terms.

    Please let me know if you need more details.

    Thanks & Regards,
    John Jabez

  • #2
    Re: AS 400 Performance Tools - Need help



    It's all there

    Comment


    • #3
      Re: AS 400 Performance Tools - Need help

      Thanks RBOrrell. I already got this PDF file. This PDF is very informative and tells us on how to collect Performance data for the whole AS 400 Application, but it is not talking about collecting data for a particular job.

      My requirement is to collect the statistics for a single job. Do you have any idea on how to collect data for a single job using the Performance Tool. We need some kind of Monitor job that collects statistics about a job which is running.

      Thanks Once again.

      Comment


      • #4
        Re: AS 400 Performance Tools - Need help

        check out the APIs QUSRJOBI and QCLRPGMI

        Comment


        • #5
          Re: AS 400 Performance Tools - Need help

          STRJOBTRC - The PDF should cover this command.

          It's important to note that a job's performance will be impacted by the performance of the subsystem, system, and other resources that the job needs to use.
          Michael Catalani
          IS Director, eCommerce & Web Development
          Acceptance Insurance Corporation
          www.AcceptanceInsurance.com
          www.ProvatoSys.com

          Comment


          • #6
            Re: AS 400 Performance Tools - Need help

            I'm not aware of APIs. Can you please explain more in detail on how to see whether these APIs are available in my application?

            Comment


            • #7
              Re: AS 400 Performance Tools - Need help

              STRJOBTRC - Please let me know what kind of Privileges is required to execute this command?

              Comment


              • #8
                Re: AS 400 Performance Tools - Need help

                Originally posted by jabez10 View Post
                I'm not aware of APIs. Can you please explain more in detail on how to see whether these APIs are available in my application?
                What I do is wrap all all of the programs that I am interested in monitoring with a COPYSRC which uses these apis and outputs to a log table so I can track performance over time. What type of code your application is coded in?

                API Main Page
                http://publib.boulder.ibm.com/infoce...apiref/api.htm

                (QCLRPGMI) API
                http://publib.boulder.ibm.com/infoce...s/qclrpgmi.htm

                (QUSRJOBI) API
                http://publib.boulder.ibm.com/infoce...apiref/api.htm

                Comment


                • #9
                  Re: AS 400 Performance Tools - Need help

                  I've wanted to Monitor CL programs & RPG programs

                  Comment


                  • #10
                    Re: AS 400 Performance Tools - Need help

                    Originally posted by jabez10 View Post
                    I've wanted to Monitor CL programs & RPG programs
                    The apis should work. I know its not so much ad-hoc but it can easily be added and removed using /define & /undefine from a copy source file

                    Comment


                    • #11
                      Re: AS 400 Performance Tools - Need help

                      In IBM Boulder site, it says the QUSRJOBI can be used to Retrieve job information. But when I call this QUSRJOBI API, it pulls the information of the jobs which I submitted. What parameter we need to pass to pull the job information of other users?

                      Comment


                      • #12
                        Re: AS 400 Performance Tools - Need help

                        Originally posted by jabez10 View Post
                        In IBM Boulder site, it says the QUSRJOBI can be used to Retrieve job information. But when I call this QUSRJOBI API, it pulls the information of the jobs which I submitted. What parameter we need to pass to pull the job information of other users?
                        You need to use
                        Qualified job name
                        INPUT; CHAR(26)

                        The name of the job for which information is to be returned. The qualified job name has three parts:
                        Job name CHAR(10). A specific job name or one of the following special values:
                        * The job that this program is running in. The rest of the qualified job name parameter must be blank.
                        *INT The internal job identifier locates the job. The user name and job number must be blank.
                        User name CHAR(10). A specific user profile name, or blanks when the job name is a special value or *INT.
                        Job number CHAR(6). A specific job number, or blanks when the job name specified is a special value or *INT.

                        Comment


                        • #13
                          Re: AS 400 Performance Tools - Need help

                          Now I got why the QUSRJOBI API is not retrieving information of other jobs even though I've provided the job name correctly. The QUSRJOBI will not retrieve Active jobs information.

                          But I need to pull information on the completed jobs. Please let me know if this can be achieved.

                          Comment


                          • #14
                            Re: AS 400 Performance Tools - Need help

                            Sorry Typo in my previous post. Reposting the correct one.

                            "Now I got why the QUSRJOBI API is not retrieving information of other jobs even though I've provided the job name correctly. The QUSRJOBI will retrieve only Active jobs information.

                            But I need to pull information on the completed jobs. Please let me know if this can be achieved. "

                            Comment


                            • #15
                              Re: AS 400 Performance Tools - Need help

                              just change the source to add a call right before the program exits. How many programs are we talking?

                              Comment

                              Working...
                              X