Step 4: Create a 4GL wrapper function

Create a Genero 4GL wrapper function without any parameters that will then use the input and output record created at Step 2 and 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 4GL wrapper function must use these records to call the I4GL function as following :
FUNCTION zipcode_details_g()
	CALL zipcode_details(zipcode_details_in.pin) 
    RETURNING zipcode_details_out.city,zipcode_details_out.state
END FUNCTION