Step 4: Create a BDL wrapper function

Create the wrapper function that uses BDL records to call the I4GL function.

Create a Genero BDL wrapper function without any parameters that will then use the input and output record created at Step 2 and Step 3 to call the I4GL function passing it the parameters retrieved from the records.

For example, in the I4GL zipcode demo there are 1 input and 2 output parameters. So the BDL wrapper function must use these records to call the I4GL function as follows:
FUNCTION zipcode_details_g()
	CALL zipcode_details(zipcode_details_in.pin) 
    RETURNING zipcode_details_out.city,zipcode_details_out.state
END FUNCTION