Using variable declarations v16
SPL is a block-structured language. The first section that can appear in a block is the declaration. The declaration contains the definition of variables, cursors, and other types that you can use in SPL statements contained in the block.
declaring_a_variable using_%_type_in_variable_declarations using_%_row_type_in_record_declarations user_defined_record_types_and_record_variables