> For the complete documentation index, see [llms.txt](https://docs.editran.onesait.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.editran.onesait.com/documentacion-editran/ibm-editran-v5.3-cics-en/operacion/onesait-editran-activity-control/px-gateway-query.md).

# PX gateway query

It is used to query the PX (Proxy) gateways.

Before using these options, you must define:

* In the local environment, the TCPNAME field...: and SERVER CONNECTION TIME (SS): in option 1.1.
* In the local PX line, the DIALOG PORT (LOG) field in option 1.9. The port entered in the DIALOG PORT (LOG) field must be defined as listening on the server where the gateway is located&#x20;

```
 ----------------------------------------------------------------------------- 
|   24/06/2026                EDITRAN MANAGER                 EDITRAN 5.3   |
|   18:16:14                GATEWAY QUERY                                 |
 ----------------------------------------------------------------------------- 
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|                   1 --->  STATUS QUERY (STARTED / STOPPED)               |
|                                                                             |
|                   2 --->  LOG QUERY                                      |
|                                                                             |
|                   3 --->  CONFIGURATION QUERY                            |
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|         OPTION.....................:                                        |
|         GATEWAY TYPE..............: 1    ( 1:PX )                          |
|                                                                             |
|                                                                             |
 ----------------------------------------------------------------------------- 
```

From this screen you can see the status, the log, and the configuration of the gateways.

From the previous screen, you access the selection of the gateway to query:

```
 ----------------------------------------------------------------------------- 
|   24/06/2026                EDITRAN MANAGER                 EDITRAN 5.3   |
|   18:16:47                GATEWAY QUERY                                 |
 ----------------------------------------------------------------------------- 
                                                                               
S  OWNER. TYPE NUM              LINE CHARACTERISTICS                  
- --------- --- --- -----------------------------------------------------------
    LOCAL   PX  001 010.055.000.017                                  -07775   
    LOCAL   PX  002 010.055.000.017                                  -07779   
                                                                              
                                                                               
                                                                              
                                                                              
                                                                               
                                                                              
                                                                              
                                                                              
                                                                               
                                                                              
                                                                              
                                                                              
                                                                              
         ACTIVE GATEWAY.                                                     
          <PF3> EXIT, <ENTER> SELECT                                      
```

Once selected, you can access the specific data to be queried.

Gateway log query&#x20;

```
 ----------------------------------------------------------------------------- 
|   24/06/2026                EDITRAN MANAGER                 EDITRAN 5.3   |
|   18:17:43          GATEWAY LOG FILE QUERY                               |
 ----------------------------------------------------------------------------- 
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|             DATE (DD/MM/YYYY)...:    /    /                                |
|                                                                             |
|             TIME (HH:MM:SS)......:    :    :                                |
|                                                                             |
|             LOCAL CODE.........: 0 0009994 0                              |
|                                                                             |
|             REMOTE CODE........:                                          |
|                                                                             |
|             APPLICATION...........:                                          |
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
|                                                                             |
-------------------------------------------------------------------------------
```

```
  ----------------------------------------------------------------------------- 
 |   02/10/2023                EDITRAN MANAGER                 EDITRAN 5.3   |
 |   15:53:56                GATEWAY QUERY                                 |
  ----------------------------------------------------------------------------- 
                                                                               
 000099940-000099980-ABEURA   27/09/2023   09:43:46   (0079 OF 0099 RECEIVED) 
  82216. With 172.22.242.193:664(H)-172.22.242.195:844 T:1 (Loc:000099940, Rem:00
 000099940-000099980-ABEURB   27/09/2023   09:43:47   (0079 OF 0099 RECEIVED) 
  82217. With 172.22.242.193:980(H)-172.22.242.195:572 T:2 (Loc:000099940, Rem:00
 000099940-000099980-ABEURA   27/09/2023   09:53:55   (0060 OF 0060 RECEIVED) 
  82221. Close received from outside. Release is sent to the host                  
 000099940-000099980-ABEURA   27/09/2023   09:53:55   (0071 OF 0071 RECEIVED) 
  82222. Release(diag:5, err:1000, ret:25).The connection has been closed.       
 000099940-000099980-ABEURB   27/09/2023   09:53:55   (0060 OF 0060 RECEIVED) 
  82223. Close received from outside. Release is sent to the host                  
 000099940-000099980-ABEURB   27/09/2023   09:53:55   (0071 OF 0071 RECEIVED) 
  82224. Release(diag:5, err:1000, ret:25).The connection has been closed.       
 000099940-000099980-ABEURA   27/09/2023   09:53:55   (0071 OF 0071 RECEIVED) 
  82225. Release(diag:5, err:1000, ret:25).The connection has been closed.       
 000099940-000099980-ABEURB   27/09/2023   09:53:55   (0079 OF 0099 RECEIVED) 
  82226. From 172.22.242.193:980(H)-172.22.242.195:572 T:0 (Loc:000099940, Rem:00
                                                                                
                                                                               
           <PF3> EXIT, <PF7> BACK, <PF8> FORWARD                         
Configuration query
```

```
 ----------------------------------------------------------------------------- 
|   02/10/2023                EDITRAN MANAGER                 EDITRAN 5.3   |
|   15:54:42                GATEWAY QUERY                                 |
 ----------------------------------------------------------------------------- 
                                                                              
¢0.0.0.0:7772!                                                                
.ip editran = 10.55.0.39:7777                                                  
¢!                                                                            
                                                                              
¢0.0.0.0:7773!                                                                 
.ip editran = 10.55.0.34:7777                                                 
¢!                                                                            
                                                                               
¢0.0.0.0:7774!                                                                
.ip editran = 172.22.242.196:7777                                             
¢!                                                                            
                                                                              
¢0.0.0.0:7775!                                                                
.ip editran = 172.22.242.193:7779                                             
¢!                                                                             
                                                                              
                                                                              
                                                                               
          <PF3> EXIT, <PF7> BACK, <PF8> FORWARD                         
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.editran.onesait.com/documentacion-editran/ibm-editran-v5.3-cics-en/operacion/onesait-editran-activity-control/px-gateway-query.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
