### DAT_DSAME

Check if two primitive objects have the same data representation.

#### Description:

The routine returns a flag indicating if the two supplied objects (which must both be primitive) are stored using the same data representation. See also DAT_DREP.

#### Invocation

CALL DAT_DSAME( LOC1, LOC2, SAME, STATUS )

#### Arguments

##### LOC1 = CHARACTER $\ast$ ( DAT__SZLOC ) (Given)
First primitive object locator.
##### LOC2 = CHARACTER $\ast$ ( DAT__SZLOC ) (Given)
Second primitive object locator.
##### SAME = LOGICAL (Returned)
.TRUE. if and only if the two objects use the same data representation.
##### STATUS = INTEGER (Given and Returned)
The global status.

#### Notes:

Unlike DAT_DREP, this routine may be used on objects stored in using any HDS data format, including version 5 and later.