> 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/definicion-y-gestion-de-ficheros-tampones/definicion-al-catalogo-vsam.md).

# Definición al catálogo VSAM

## Tampón Específico <a href="#toc149127358" id="toc149127358"></a>

Es definido y borrado por editran/G mediante llamadas al “IDCAMS”. Contiene una única sesión de transmisión.

Únicamente es necesario definirlo al CICS puesto que es editran/G quien lo define y borra a partir de los datos de perfiles.

De cualquier forma, el jcl ZTBPJITE define un fichero tampón específico con las siguientes características:&#x20;

```
DEFINE CLUSTER                          -                 
      (NAME(KI.EGDC.ZTBP.ZTBPFR1)         -                  
           VOL(DES801)                     -                 
           FREESPACE(25 25)                -                 
           REC (100 100)                   -                 
           RECORDSIZE(04074 04074)       -                   
           SHAREOPTIONS(2 3)               -                 
           KEYS(36 0)                      -                 
           INDEXED )                                    -    
         DATA                                           -    
           (NAME(KI.EGDC.ZTBP.ZTBPFR1.DATA))          -      
         INDEX                                          -    
           (NAME(KI.EGDC.ZTBP.ZTBPFR1.INDEX))                
 /*
```

## Tampón Matricial

Es conveniente que sea definido por el usuario, de este modo tiene la oportunidad de especificar el número de registros que considere adecuado.

Para definirlo existe un jcl (ZTBPJITM) que lo crea con las siguientes características:&#x20;

```
DEFINE CLUSTER                          -                  
      (NAME(KI.EGDC.ZTBP.ZTBPFEL)         -                         
           VOL(DES502)                     -                        
           FREESPACE(25 25)                -                         
           REC (500 50)                  -                          
           RECORDSIZE(4074 4074)           -                        
           SHAREOPTIONS(3 3)               -                        
           KEYS(36 0)                      -                        
           INDEXED )                                    -           
         DATA                                           -           
           (NAME(KI.EGDC.ZTBP.ZTBPFEL.DATA))            -           
         INDEX                                          -           
           (NAME(KI.EGDC.ZTBP.ZTBPFEL.INDEX))                       
 /*
```

Como se puede ver este tipo de tampón tiene la SHAREOPTION (3,3).

Si al iniciar el proceso de editran/G no existe el fichero, se definirá asignando al número de registros la suma de los registros asignados a cada una de las sesiones de transmisión asociadas a la presentación en curso.

## Tampón Desatendido <a href="#toc149127360" id="toc149127360"></a>

Es obligatorio que sea definido por el usuario.

Para definirlo existe un jcl (ZTBPJITD) que lo define con las mismas características del Tampón Específico, pero además lo inicializa.

## Tampón EXCI <a href="#toc149127361" id="toc149127361"></a>

Es obligatorio que sea definido por el usuario.

Para definirlo se utiliza el mismo jcl que en el caso de los tampones desatendidos (ZTBPJITD).

## Tampón Público <a href="#toc149127362" id="toc149127362"></a>

Es obligatorio que sea definido por el usuario.

Se define del mismo modo que el Tampón Matricial (ZTBPJITM).


---

# 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/definicion-y-gestion-de-ficheros-tampones/definicion-al-catalogo-vsam.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.
