Coding a conversational program

Before coding a conversational program, you need to obtain the following information.

  • The transaction code to use for a program to which you pass control
  • The data that you should save in the SPA
  • The maximum length of that data

A SPA contains four fields:

  • The 2-byte length field.
  • The 4-byte field that is reserved for IMS TM.
  • The 8-byte transaction code.
  • The work area where you store the conversation data. The length of this field is defined at system definition.