SAP ASE uniquely identifies the partition lock with a combination of database ID (dbid), object ID (objid), and partition ID (ptnid).
For unknown partition locks, SAP ASE uses a special partition lock with a partition ID value of '-1'. It indicates a partition lock on all of the table partitions. In specific cases, SAP ASE may not know the partition ID of the data row and would acquire a partition lock with partition ID '-1'.