On Jul 6, 2006, at 4:21 PM, Ismet Kursunoglu wrote:

NUMBER: 32                              NAME: XUSTATUS

  MENU TEXT: System Status              TYPE: action

  CREATOR: SCHLEHUBER,CAMERON           DISPLAY OPTION?: YES

  E ACTION PRESENT: YES

 DESCRIPTION:   Uses Operating System utility to show all current jobs signed

 on to the computer.

  ENTRY ACTION: W @IOF N DUZ,DT,DTIME X:$D(^%ZOSF("SS"))#2 ^("SS") D HOME^%ZIS

  UPPERCASE MENU TEXT: SYSTEM STATUS



Okay, the entry action is the whole story here.  This all translates to

1. clear the screen (W @IOF)
2. save the variables DUZ, DT and DTIME on the on the stack to be sure they don't change (N DUZ,DT, DTIME)
3. if the global variable ^%ZOSF("SS") has a value ($D(^%ZOSF("SS")#2)
4. execute it (X:... ^("SS"))
5. finally, restore the terminal settings (D HOME^%ZIS)

Gregory Woodhouse

"Judge a man by his questions not 
his answers."   --Voltaire



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to