Question
· Apr 24

terminal attached to the JOB

Is it possible to start a terminal attached to a process (JOB)?

For example, I have a 548 process being debugged by VSCODE.

I would like to start a terminal, attached to the process to check process global values ​​by running the command "zw ^||MYGLOBAL"

Product version: IRIS 2020.3
Discussion (2)2
Log in or sign up to continue

From Terminal in namespace %SYS you can run

  • DO ^JOBEXAM
  • select your job by list of PID
  •  Job# NSpace  Routine        Commands   Globals State PID      Current device
       23 USER    shell               425        64 READ  17060    |TRM|:|17060
    Namespace:          USER                     SessionID:
    Routine:            shell
    Open Devices:       |TRM|:|17060*
    Mem Lim/Peak/Curr:  256M/154K/116K           In Trans:      No
    Priority:           8                        Info:
    User Name:          UnknownUser
    Roles/EscalatedRoles:%All/None
    OS User Name:       cemper                   EXE Name:
    Client Node Name:   TRM:                     IP Address:    127.0.0.1
    Location:                                    PrivGblBlks:   3
    Last reference:     ||RCC(5)
     
    Current line:
     
    Entry Process     X#   S# Flg Item Locked
    
    (V)ariable, (L)ocks, (S)tack, (P)rocess Private Globals, (Q)uit =>  P
  • and can see  PPG
    Process Private Global (?): RCC
    ^||RCC(1)=1
    ^||RCC(2)=2
    ^||RCC(3)=3
    ^||RCC(4)=4
    ^||RCC(5)=5
     
    Process Private Global (?):