> 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/batch-profile-manager/removal-of-onesait-editran-p-profiles.md).

# Removal of Onesait · Editran/P profiles

As a result of the need to generically deregister editran/P sessions, the new function for deregistering profiles appears through the execution of a batch process, fed by input data previously defined by the user, either through a manual operation or by a user application.

A listing is obtained with the input data, which indicates any possible errors in them, or the deregistered presentation sessions if the inputs are correct.

An example of this JCL is provided in the installation, under the name ZTBPJBP1. Deregistering transmission sessions causes the deregistration of the conversation, session and transport identifier records.

## Deregistration order form format

It has 2 formats. Either by codes or by conversation (name of the session associated with the codes).

<table data-header-hidden><thead><tr><th width="63.81475830078125" valign="top"></th><th width="128.407470703125" valign="top"></th><th width="79.44439697265625" valign="top"></th><th width="72.25921630859375" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Level</td><td valign="top">Name</td><td valign="top">Length.</td><td valign="top">Fmt.</td><td valign="top">Description</td></tr><tr><td valign="top">1</td><td valign="top">Processing</td><td valign="top">1</td><td valign="top">Alph.</td><td valign="top"><p>With “*” the record is ignored,</p><p>With ‘P’, local code-remote code-application are processed.</p></td></tr><tr><td valign="top">1</td><td valign="top">Separator</td><td valign="top">1</td><td valign="top">Alph.</td><td valign="top">Field-separation hyphen.</td></tr><tr><td valign="top">1</td><td valign="top">Origin</td><td valign="top">9</td><td valign="top">Alphan.</td><td valign="top">Origin code. Zeroes in generic selection.</td></tr><tr><td valign="top">1</td><td valign="top">Separator</td><td valign="top">1</td><td valign="top">Alph.</td><td valign="top">Field-separation hyphen.</td></tr><tr><td valign="top">1</td><td valign="top">Remote</td><td valign="top">9</td><td valign="top">Alphan.</td><td valign="top">Remote code. Zeroes in generic selection.</td></tr><tr><td valign="top">1</td><td valign="top">Separator</td><td valign="top">1</td><td valign="top">Alph.</td><td valign="top">Field-separation hyphen.</td></tr><tr><td valign="top">1</td><td valign="top">Application</td><td valign="top">6</td><td valign="top">Alphan.</td><td valign="top">Application code. Zeroes in generic selection.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="61.962890625" valign="top"></th><th width="121" valign="top"></th><th width="69.48150634765625" valign="top"></th><th width="77.55560302734375" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Level</td><td valign="top">Name</td><td valign="top">Length.</td><td valign="top">Fmt.</td><td valign="top">Description</td></tr><tr><td valign="top">1</td><td valign="top">Processing</td><td valign="top">1</td><td valign="top">Alph.</td><td valign="top"><p>With “*” the record is ignored,</p><p>With ‘C’, Conversations are processed.</p></td></tr><tr><td valign="top">1</td><td valign="top">Separator</td><td valign="top">1</td><td valign="top">Alph.</td><td valign="top">Field-separation hyphen.</td></tr><tr><td valign="top">1</td><td valign="top">Conversation</td><td valign="top">32</td><td valign="top">Alphan.</td><td valign="top"><p>Conversation. Formats:</p><p>String</p><p>String *</p><p>* String</p></td></tr></tbody></table>

## Process JCL <a href="#toc149127439" id="toc149127439"></a>

The name of the JCL that performs the registration of the transmission sessions is “ZTBBJBP1”. Its content is as follows:&#x20;

```cobol
//KI0D5870 JOB (EGDC,KIT,,99),EDITRAN,MSGCLASS=H,CLASS=A,             
//             MSGLEVEL=1,NOTIFY=&SYSUID                              
//JOBLIB   DD DSN=SYS1.COB2LIB,DISP=SHR                               
//*********************************************************************
//* INDRA, S.A.- COMMUNICATIONS SOLUTIONS                                  *
//*********************************************************************
//**   BATCH DEREGISTRATION OF EDITRAN/P PROFILES                       ***+
//********************************************************************+
//*                                                                   
//ZTBBBB01 EXEC PGM=ZTBBBBP1                                          
//STEPLIB  DD   DSN=KI.EGDC.ZTBP.LOAD31,DISP=SHR                        
//ZTBGFPER DD   DSN=KI.EGDC.ZTBP.ZTBPFPE,DISP=SHR                    
//ZTBGFLIS DD   SYSOUT=*                                              
//SYSOUT   DD   SYSOUT=*                                              
//SYSPRINT DD   SYSOUT=*                                              
//FICHAS   DD   *    
*P-000000000-000000000-TEST                     
*C-*
*C-TEST*                    
C-SESSION 2314                  
/* 
```

## Examples <a href="#toc149127440" id="toc149127440"></a>

Deregistration of all remote codes and applications whose origin is local code 000099940.

```
P-000099940-000000000-000000
```

&#x20;Generic deregistration of sessions (2 valid formats):

```
P-000000000-000000000-000000          
C-*
```

Deregistration of all applications of remote code 000033330.

```
P-000000000-000033330-000000 
```

Deregistration of all applications of local code 000099940 and remote code 000033330.

```
P-000099940-000033330-000000
```

Deregistration of the indicated session:

```
P-000099940-000033330-TELECA
```

Deregistration of the indicated conversation:

```
C-TESTS INDRA APLIC 44776
```

Deregistration of the conversations that begin with anything and end with 0023 teleca:

```
C-*0023TELECA
```


---

# 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/batch-profile-manager/removal-of-onesait-editran-p-profiles.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.
