> 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-ims-en/utilidades-ims/session-status-list-ztbgjcep.md).

# Session status list (ZTBGJCEP)

JCL ZTBGJCEP that executes the status query of presentation sessions, producing a listing with the status of all sessions&#x20;

```cobol
//KI88DC4E JOB (EGDC,KIT,,99),'IGA-EDITRAN',MSGCLASS=H,CLASS=A,        
//             NOTIFY=&SYSUID                                          
//LIBPROC JCLLIB  ORDER=IMST.PROCLIB                                   
//*********************************************************************
//* INDRA SISTEMAS, S.A.- COMMUNICATIONS SOL.                         *
//*********************************************************************
//* JCL THAT EXECUTES THE BMP QUERY OF SESSION STATUS         *
//*      --------------------                                         *
//*      SESSION STATUS    000 = LOADED                               *
//*       (EDITRAN)       001 = SENDING                             *
//*      -------------    002 = SENT                               *
//*                       003 = NOT LOADED                            *
//*                       004 = SUSPENDED (EMISSION)                  *
//*                                                                   *
//*                       100 = INITIALIZED                          *
//*                       101 = RECEIVING                            *
//*                       102 = RECEIVED                              *
//*                       103 = SUSPENDED                            *
//*********************************************************************
//PASO1 EXEC IMSBATCH,MBR=ZTBGECEP,PSB=ZTBGECEP                        
//STEPLIB   DD DSN=IMST.SDFSRESL,DISP=SHR                              
//          DD DSN=KI.EGTI.LOAD,DISP=SHR                               
//ZTBGFLIS  DD SYSOUT=*,DCB=(BLKSIZE=132)                              
//SYSOUT    DD SYSOUT=*                                                
/*                                                                     
//                                                                     
```

**Listing**

```
********************************* TOP OF DATA ***********************************
08/26/0020 11:50:30        GENERIC QUERY OF PRESENTATION STATES          
   PRESENTATION SESSION       EMISSION     START/END   RECEPTION    START/END    
   -------------------       -------     ----------   ---------    ----------    
000099930 000099980 ABEURP  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 ABEUR2  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 AHAHAH  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 B00088  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 CARGQF  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 EDIXML  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 EDTEFF  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 EDTRFF  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 FASE06  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 FFFFFF  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 MUERTE  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PAKYFF  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PAKYSA  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PAKYSB  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PAKYSV  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PAKY01  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PAKY02  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PAKY03  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRGIGA  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRTCP0  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRTCP1  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRTCP4  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRTCP5  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRTCP7  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRTCP8  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRTC14  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRTC15  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRUEBA  NOT LOADED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 PRUEBB  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRUEBC  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRUEBD  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRUE20  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRUTES  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PRUX25  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 PXSXSX  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 P10000  COMPLETED 00/00/00-00:00 COMPLETED 00/00/00-00:00
000099930 000099980 TCPX25  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 TELEGC  COMPLETED 00/00/00-00:00 RECEIVING 00/00/00-00:00
000099930 000099980 TEST01  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 TEXTOS  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 TX0001  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 VELOCI  COMPLETED 00/00/00-00:00 INITIALIZING 00/00/00-00:00
000099930 000099980 WUANDA  NOT LOADED 00/00/00-00:00 INITIALIZING 00/00/00-00:00

```


---

# 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-ims-en/utilidades-ims/session-status-list-ztbgjcep.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.
