---
title: Activate Spy option in Meditech C/S
description: In MEDITECH C/S, Spy comes in handy when finding the name of a CDS and query.   Spy option and you will see the mnemonic of both the CDS and the query. 
---

[![IPeopleHealthcare_White](https://blog.ipeople.com/hubfs/IPeopleHealthcare_White.png)](https://www.ipeople.com/)

- [Home](https://www.ipeople.com)
- Products 
    - [Professional Services](https://www.ipeople.com/products/meditech-services/)
    - [Downtime Product Suite](https://www.ipeople.com/products/suite)
- [Benefits](https://www.ipeople.com/benefits)
- [About](https://www.ipeople.com/about)
- [Contact](https://www.ipeople.com/contact)
- [IPeople Blog](https://blog.ipeople.com)

February 7, 2022

# Activate Spy option in Meditech C/S

Meditech's C/S software has a nice function for "spying" on your own "job".  If you are set up with Sign-On Mode PROG in the UNV User dictionary, you will automatically have access to this function.  If you are set up with Sign-On Mode USER, you have to do the following:

1. Create an NPR Report with Report DPM NPR.PROC and any name you like.
2. Set up a Report Title like this:   
   `"_%(NPR)PROC..zcus.report.M..s(0)_"`  
   Replace "report" with the name of your report.
3. File and translate the report.
4. Create a macro called s with the following code:  
        `F{'/GO 1^/GO^/Z.PRT.SUPPRESS.PRINTING^/R.FRAGMENT},`  
   `  @Debug.spy.menu,"";`
5. File and translate the macro.

Nothing obvious happens when you run the report.  However, you now have a "Spy" option available to you.  To access it, move your mouse to the title bar of your Meditech Client application and press the Right mouse button.  You now have an option there called "Spy".  You can also access it by pressing <Alt><Spacebar>.

When you select the "Spy" option, a text window appears with the first line of each program you have accessed.  The first line contains the name of the program, along with the release, and other miscellaneous information.  Then the current line of code is shown.  Also, the Symbol Table name is shown (Symbol Table names are always letters:  A, B, C, etc).  Then the list of symbols in each Symbol Table are shown.

This can come in handy when trying to find the name of a CDS and query.  If your cursor is on a query field on a CDS, access the "Spy" option and you will see the mnemonic of both the CDS and the query. 

 Topics: [Report Writing](https://blog.ipeople.com/topic/report-writing), [NPR Report](https://blog.ipeople.com/topic/npr-report)

## You Might Also Enjoy

<https://blog.ipeople.com/print-code-for-t-macros-in-meditech-c/s>

#### [Print code for $T Macros in Meditech C/S](https://blog.ipeople.com/print-code-for-t-macros-in-meditech-c/s)

Steps: Select the Report DPM NPR.DOLT Enter a report name (any name you like) Page 1 will ...

<https://blog.ipeople.com/add-a-web-page-link-to-npr-reports-printed-to-web-browser-is-meditech-cs>

#### [Add a web page link to NPR Reports printed to web browser is MEDITECH CS](https://blog.ipeople.com/add-a-web-page-link-to-npr-reports-printed-to-web-browser-is-meditech-cs)

Some C/S sites are set up to allow Browser as an option for printing reports. These ...

<https://blog.ipeople.com/how-to-send-emails-from-a-cds-for-meditech-cs-customers>

#### [How to Send Emails from a CDS for MEDITECH CS Customers](https://blog.ipeople.com/how-to-send-emails-from-a-cds-for-meditech-cs-customers)

You can send emails from a CDS in CS but you must have the Meditech Parameters set up to ...

<https://blog.ipeople.com/using-the-id-screen-field-attribute-for-meditech-c/s-npr-report-screen-lookups>

#### [Using the ID Screen Field Attribute for MEDITECH CS NPR Report Screen lookups](https://blog.ipeople.com/using-the-id-screen-field-attribute-for-meditech-c/s-npr-report-screen-lookups)

The Process Reports routine has an option for enter/editing Attributes to Screen Field ...

<https://blog.ipeople.com/using-command-line-arguments-for-magic-customers>

#### [Using Command-Line Arguments for Magic Systems](https://blog.ipeople.com/using-command-line-arguments-for-magic-customers)

Command-Line Arguments can be passed in with your call to the Meditech Remote ...

[![IPeopleHealthcare_FullColor](https://blog.ipeople.com/hubfs/IPeopleHealthcare_FullColor.png)](https://www.ipeople.com/)

#### CONTACT

- [+1-214-222-1125](tel:+1-214-222-1125)
- [support@ipeople.com](mailto:support@ipeople.com)
- [sales@ipeople.com](mailto:sales@ipeople.com)

#### [JOIN OUR TEAM](https://ipeople.bamboohr.com/jobs/)

#### FOLLOW

- [![Facebook](https://blog.ipeople.com/hubfs/Facebook.svg)](https://www.facebook.com/IPeoplehealthcareTX)
- [![Instagram](https://blog.ipeople.com/hubfs/Instagram.svg)](https://www.instagram.com/interfacepeople/)
- [![Linkedin](https://blog.ipeople.com/hubfs/Linkedin.svg)](https://www.linkedin.com/company/ipeople-healthcare)
- [![Twitter](https://blog.ipeople.com/hubfs/Twitter.svg)](https://twitter.com/InterfacePeople)
- [![email_icon](https://blog.ipeople.com/hubfs/email_icon.svg)](mailto:support@ipeople.com)

 

![](https://blog.ipeople.com/hubfs/IPeople_2022_Aug/Images/Home/arrow-up.png)