Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Real time tracking of profile signons

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

  • Real time tracking of profile signons

    On Monday, October 26, 1998, 02:16 PM, John M. Marks III wrote: We need a way to determine profile signons and length of time per session. PM/400 gives reports with top profiles with most time signed on. Thus, this information must be available somewhere. How can I access it through CL / RPG pgmg? Can I force an entry to QAUDJRN based on signon and signoff events? Is it feasible to track this real time? (ie using data queues and/or updating a database with this so managers can track length of signon for key "Super Profiles") John Marks - Lance, Inc. jmarks@lance.com John, You can use job accounting to get the information you want. If job accounting is active, a journal entry is written at the completion of each job which gives user id, date/time started, and date/time ended along with a bunch of other info. Job accounting is an all or nothing operation. You can account for ALL jobs, ALL reports, or both. It is pretty easy to dump the journal entries to an outfile (via DSPJRN) and then use a query to massage the information. Check out the Work Management manual for more info or feel free to ask questions here. Have fun! Richard

  • #2
    Real time tracking of profile signons

    John, Activate system value QACGLVL (Job Accounting Level) at least for Jobs. You will need to allocate a Job Accounting Journal and Receiver to capture the info. The Work Management manual (or it used to) has a chapter on the format of the Journal after conversion, how to convert it, how to use the data. Queries can handle the reporting for the most part, or you can write your own application. This is what we did in the early AS/400 days. Now we run ROBOT/CPA.Regards. Jack McGuigan - MIS Manager - American Life Ins. Co.

    Comment


    • #3
      Real time tracking of profile signons

      Just interactive use, or all jobs on the system? To get a real time tracking you could use routing programs or alerts. In the latter case making the 'job started' and 'job ended' alert enabled could notify a watch/logging pgm. Regards, Chuck Comments provided "as is" with no warranties of any kind whatsoever.

      Comment


      • #4
        Real time tracking of profile signons

        John, If you are on V4R2 or later and you need wall clock time rather than CPU time, then you may want to look at the Job Notification Exit Point in the Work Management chapter of the System API Reference. This allows you to specify a *DTAQ to receive notification messages of job starts, job ends, and placing of jobs on a job queue. You could via this *DTAQ monitor, and track, all jobs on the system; or just jobs related to specific subsystems. The Exit Point is not sensitive to user profile names (you'll get them all) but you could of course apply a filter within your receiving program. Bruce

        Comment

        Working...
        X