Tuesday, September 25, 2018

Difference between Type and Like

Difference between Type and Like

"TYPE" is used to define the data objects using predefined data types or user defined data types(which are created  using 'TYPES' statement)


"LIKE" is used to define data objects with the properties of already existing data objects(which are created using the 'DATA' statement not the 'TYPES' statement') not of the
predefined data type,