IBD Program Creation

To connect to the EGL-generated COBOL program, the program needs to be created as a subprogram in IBD rather than a main program, as the sub-program will capture the value passed through z/OS Connect and can return the response too.

Interface as COMMAREA: The IBD sub-program must have a minimum of one parameter to receive the request and send the response.

Interface as CHANNEL: The IBD sub-program must have a minimum of one EGL Record as a parameter to receive the request and send the response.

Set the build descriptor with the below build descriptor format.
  1. Create a Linkage option by adding the program name and type as a local call.
  2. Keep the Parm form as COMMDATA / CHANNEL, Pgm type as EGL, and add the linkage section into the COBOL build options.
  3. Generate the program and check the output in the corresponding API.