> 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/gestor-batch-de-perfiles/altas-de-perfiles-onesait-editran/ejemplo-de-alta-con-copia.md).

# Registration example

The name of the JCL that creates the sessions is “ZTBGJAP1”.

The format of the input records is provided in the example order file included in the JCL.

To avoid having to delete the records that are not needed for a given creation, they can be ignored by typing a “\*” in the first position of the record, leaving a hyphen or blank in that position if you want the record to be taken into account.

The order file can be generated in a prior process, manual or automatic, without needing to modify the JCL in each creation process.

<pre class="language-cobol"><code class="lang-cobol">//KIXXXXXA JOB (EGDC,KIT,,99),ZTBGJAP1,MSGCLASS=H,CLASS=A,            
<strong>//             MSGLEVEL=1,NOTIFY=&#x26;SYSUID                              
</strong>//LIBPROC JCLLIB  ORDER=IMSP.PROCLIB                                  
//********************************************************************+
//** CREATION WITH BATCH COPY EDItran PROFILES (EDItran)            **+
//** FORMAT:                                                       **+
//** IF THE RECORD STARTS WITH '*' IT IS NOT USED.                 **+
//** IF THE RECORD DOES NOT START WITH '*' THE CONTENT OF WHAT FOLLOWS   **+
//** THEN CAN BE ANY OF THE FOLLOWING GROUPS)                      **+
//**  1 - CREATION GROUP WITH APPLICATION COPY.                   **+
//**      --> APPLICATION RECORD (A0) REQUIRED.                   **+
//**          A0-AAAAAA-BBBBBB-CCCCCCCCCCCCCCCCCCCC                 **+
//**             AAAAAA: 06 BYTES : APPLICATION TO BE CREATED      **+
//**             BBBBBB: 06 BYTES : IMAGE APPLICATION              **+
//**             CCCCCC: 20 BYTES : NAME OF APPLICATION TO BE CREATED     **+
//**  2 - CREATION GROUP WITH REMOTE COPY.                        **+
//**      --> REMOTE RECORD (R0) REQUIRED.                        **+
//**          R0-AAAAAAAAA-BBBBBBBBB-CCCCCCCCCCCCCCCCCCCC           **+
//**             AAAAAA: 09 BYTES : REMOTE TO BE CREATED          **+
//**             BBBBBB: 09 BYTES : IMAGE REMOTE                  **+
//**             CCCCCC: 20 BYTES : NAME OF REMOTE TO BE CREATED         **+
//**      --> OPTIONAL REMOTE RECORD (R1). (MAXIMUM 3 RECORDS)      **+
//**          R1-AAAAAAAAAAAAAAAA...AAAAAAAAAAAAAAAAA-BBBBB         **+
//**           AAAAAA: 64 BYTES : REMOTE TCP/IP ADDRESS         **+
//**                                FORMAT:   999.999.9999.999     **+
//**                                           WWW.XXXX.YY          **+
//**           BBBBB:   5 BYTES : REMOTE TCP/IP PORT            **+
//**  3 - CREATION GROUP WITH SESSION COPY.                      **+
//**      --> SESSION RECORD (S0) REQUIRED.                     **+
//**          S0-AA..AA-BB..BB-CCCCCC-DD..DD-EE..EE-FFFFFF-GG..GG   **+
//**             AAAAAA: 09 BYTES : SOURCE SESSION TO BE CREATED   **+
//**             BBBBBB: 09 BYTES : REMOTE SESSION TO BE CREATED   **+
//**             CCCCCC: 06 BYTES : APPLICATION SESSION TO BE CREATED   **+
//**             DDDDDD: 09 BYTES : SOURCE SESSION IMAGE          **+
//**             EEEEEE: 09 BYTES : REMOTE SESSION IMAGE          **+
//**             FFFFFF: 06 BYTES : APPLICATION SESSION IMAGE          **+
//**             GGGGGG: 20 BYTES : DESCRIPTION OF THE SESSION TO BE CREATED    **+
//**      --> OPTIONAL SESSION RECORD (S1).                        **+
//**          S1-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   **+
//**             AAAAAA: 60 BYTES : MACRO FILE PARAMETERS      **+
//**      --> REQUIRED SESSION RECORD (S2). (BETWEEN 1-20 RECORDS) **+
//**          S2-AAAAAA-B-CCCCCCCC-DDDDD-EEEEE                      **+
//**             AAAAAA: 06 BYTES: TRANSMISSION APPLICATION         **+
//**             B CCCCCC DDDDDD (NOT USED)                    **+
//**             EEEEE : 06 BYTES: NUMBER OF RECORDS (RECORD 1 ONLY)**+
//**      --> OPTIONAL SESSION RECORD (S3). (BETWEEN 0-99 RECORDS)    **+
//**          S3-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA-B-C-D-E   **+
//**             AAAAAA: 44 BYTES : EMISSION FILE DSNAME (0-99) **+
//**             B     : 01 BYTES : FORMAT (R/M)                 **+
//**                   R(RECORD): (FIXED, VARIABLE AND EXPANDED FORMAT)**+
//**                   M(BINARY)                                   **+
//**             C     : 01 BYTES : ORIGINAL ALPHABET (A/E/N)     **+
//**                   (ASCII,EBCDIC,NONE)                       **+
//**             D     : 01 BYTES : TRANSLATE ON OUTPUT (S/N)     **+
//**                   (TRANSLATE,DO NOT TRANSLATE)                       **+
//**             E     : 01 BYTES : COMPRESSION (F/N)              **+
//**      --> OPTIONAL SESSION RECORD (S4).                        **+
//**          S4-A-B                                                **+
//**             A     : 01 BYTES : LOCAL SUBSYSTEM              **+
//**             B     : 01 BYTES : REMOTE SUBSYSTEM              **+
//**      --> OPTIONAL SESSION RECORD (S5).                        **+
//**          S5-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA            **+
//**             AAAAAA: 64 BYTES : LOCAL LABEL                   **+
//**      --> OPTIONAL SESSION RECORD (S6).                        **+
//**          S6-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA            **+
//**             AAAAAA: 64 BYTES : REMOTE LABEL                  **+
//**      --> OPTIONAL SESSION RECORD (SA).                        **+
//**          SA-AAAAAAAA-BBBBBBBBBBB-                              **+
//**             AAAAAAAA:     8 BYTES : JOB NAME               **+
//**             BBBBBBBBBBB: 11 BYTES : INSTALLATION PREFIX**+
//**      --> OPTIONAL SESSION RECORD (SB).                        **+
//**          SB-A     : 01 BYTE  : REMOTE CHARACTER SET       **+
//********************************************************************+
//ZTBGEAP1 EXEC IMSBATCH,MBR=ZTBGEAP1,PSB=ZTBGEAP1                    
//STEPLIB  DD DSN=KI.EGDI.LOAD,DISP=SHR                               
//ZTBGFLIS DD SYSOUT=*,DCB=(BLKSIZE=132)                              
//ZTBGFPRI DD SYSOUT=*,DCB=(BLKSIZE=105)                              
//SYSOUT   DD SYSOUT=*                                                
//CEEDUMP  DD SYSOUT=*                                                
//ZTBGFGPE DD *                                                       
<strong>R0-P00099930-000099990-REMOTE 9993         -                                 
</strong>R1-CICSSITD.COMS.INDRA.ES                                          -07777-    
R1-192.1.1.2                                                       -07777-    
A0-NUEVA1-TEST-NEW APPLICATION    -                                       
S0-000099980-P00099930-NUEVA1-000099980-000099940-TEST-NEW SESSION  TEST-
S1-*1*6*NUEVAA*7*72*                                           -             
S2-NUEVAA- -        -        -010000-      
S2-NUEVAB- -        -        -010000-      
S2-NUEVAC- -        -        -010000-      
S2-NUEVAD- -        -        -010000-      
S2-NUEVAE- -        -        -010000-      
S2-NUEVAF- -        -        -010000-      
S2-NUEVAG- -        -        -010000-                                            
S3-KI.EIDA.F131                                -R-E-N-F                      
S4-P-Q-                                                                      
S5-NEW LOCAL LABEL                                               -         
S6-NEW REMOTE LABEL                                              -         
SA-KINUEVA -KI.EGDI    -                                                     
/*
//
 
</code></pre>

In the previous example, the following are created

The session 000099980-000099930-NUEVA1 using 000099980-000099940-PRUEBA as the image

The remote 000099930 using 000099990 as the image

The application NUEVA1 using application PRUEBA as the image


---

# 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/gestor-batch-de-perfiles/altas-de-perfiles-onesait-editran/ejemplo-de-alta-con-copia.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.
