Question: How to uniquely identify a record in AS400 database
Detailed Question:
I have AS400 database and some tables within it. Tables don't have primary key / unique key / composite key defined.
Like oracle has concept of ROWID, in same way do we have something for AS400 database. or can we create something like ROWID?
What you refer to as ROWID is called RRN (Relative Record Number) in DB2. I don't know about Oracle, but the RRN is only a pseudo-static value. Depending on the creation of the table, the value of existing records can change when records are deleted or inserted. The setting in question is the allowance to reuse deleted record space for new records.
Since you don't state how you access records (SQL, or Read/Write API Calls), you might want to search existing IBM documentation how to deal with the RRN value in your particular use case.