Step 2: Write a BDL function for each service operation

Each function defines an operation of the service.

You will need to write a function to implement each operation, using the input and output records.

If you code the operations of the service in a separate module to the service creation, you will need to import the service module to reference the input and output records.

To implement your Add operation:
#User public function
PUBLIC FUNCTION add()
   LET add_out.r = add_in.a + add_in.b
END FUNCTION