> 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/copy-of-privado-editran-v5.3-cics/tcp/arranque-caida-autom.sockets-for-cics-tcp-ip-a-traves-de-plt.md).

# Arranque-Caída AUTOM.SOCKETS FOR CICS TCP/IP (A TRAVES DE PLT)

1. Arranque AUTOMATICO (PLTPI) Para arrancar automáticamente, hacer la siguiente entrada en la PLTPI  después de la DFHDELIM:

```
DFHPLT TYPE=ENTRY,PROGRAM=EZACIC20
DFHPLT TYPE=ENTRY,PROGRAM=ZTBPOTCI
```

2. Caída AUTOMATICA (PLTSD)  Hacer la siguiente entrada,  antes de  la DFHDELIM:

```
DFHPLT TYPE=ENTRY,PROGRAM=ZTBPOTCF
DFHPLT TYPE=ENTRY,PROGRAM=EZACIC20
```

En la PLT de inicio, se arrancarán los sockets for CICS y una vez hecho esto, se llamará al programa ZTBPOTCI, que arrancará una transid (ZTBZ). Dicha transid, a partir del EZACONFG, arrancará todos los LISTENER que existan  (todos los asociados al monitor de teleproceso donde se ejecute la ZTBZ)  y que contengan el parámetro SECEXIT = editran, de modo que no se requiere actuación manual para activar los mismos.  Es obligado llamar a la ZTBZ con dicho nombre y no se ha incluido en perfiles editran, puesto que si en la plt de inicio se realizan accesos a ficheros (para sacar el nombre de la transid a arrancar), es muy probable que surjan errores de acceso y lectura a ficheros (probablemente porque el CICS no dispone aún de ellos).

Si desea que la transid ZTBZ tenga otro nombre en su entidad, pase el jcl ZTBPJTCP sobre el programa ZTBPOTCI, indicando el nuevo nombre de dicha transid (deberá estar previamente definida en CICS). A continuación, defina en los perfiles (entorno local), dicha transid (PLTINI TCP:). En el jcl a pasar, se pone el desplazamiento ZTBZ (si falla el jcl consulte con INDRA el mismo), la transid origen (ZTBZ) y la transid destino (en el ejemplo siguiente NXZR):

```cobol
//* PRIMERO VER  (COMPRUEBA QUE COINCIDA)                               
//* SEGUNDO REP  (CAMBIA)                                               
//*                                                                     
//*        ZTBZ  -> "E9E3C2E9" DESPLAZAMIENTO 01EA-TRANSID ZTBZ         
//*        NXZR  -> "D5E7E9D9"                                          
//*                                                                     
//**********************************************************************
//*   CAMBIO DE NOMBRES DE TRANSACCION DE EDITRAN                      *
//**********************************************************************
//P1   EXEC  PGM=AMASPZAP                                               
//SYSLIB  DD  DSN=PUNTERO.INDRA.LOAD,DISP=SHR                           
//SYSPRINT DD  SYSOUT=*                                                 
//SYSIN  DD  *                                                          
  NAME ZTBPOTCI ZTBPOTCI                                                
  VER  01EA E9E3C2E9                                                    
  REP  01EA D5E7E9D9                                                    
/*                                                           

```


---

# 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/copy-of-privado-editran-v5.3-cics/tcp/arranque-caida-autom.sockets-for-cics-tcp-ip-a-traves-de-plt.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.
