Eduardo, There are plenty of existing free tools that already do this (eg MXI or TASID) - so :
Do you just need the tool? or Do you want to go through the learning exercise of doing it yourself? If the latter : (1) The control blocks you need to process are the ASVT entries which follow the ASVT header (pointed to from the CVTASVT field) (2) From the ASVT you can get to the ASCB and from there you need the ASSB and OUCB. Most of the data you need for a simple address space list is in these three control blocks - obviously you can add more as you see fit when you get more familiar with what you are looking at. Check the Data Areas manuals for more info. Example code can be found at : www.cbttape.org www.xephon.com Rob Scott Rocket Software, Inc 275 Grove Street Newton, MA 02466 617-614-2305 [EMAIL PROTECTED] http://www.rs.com/portfolio/mxi/ -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Toledo Sent: 10 August 2006 10:28 To: [email protected] Subject: cpu time on line hi guys, I have to write a little prog (asm) that shows in real time informations such as cpu time, jobid,job name, and maybe something else. Our shop is running zOSv1.4, and what I would like is if somebody could help me to get those information starting probably with the CVT through all the chain including the TCB, et.etc. Thanks in advanced Eduardo Toledo System consultant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

