I accept that it'll not be declared in the data division.Then it should be taken care by system.So we can call it as a system variable.
system variables like date,timestamps can be declared without declaring them.Then why cant an index????
Thanks a lot for the reply .Could u answer my second question.It was asked in one of the interview.What i feel that we calculate RBA to retrieve a particular record but we'll not store that.Correct me if i am wrong
You are right. We are not storing the value of RBA in the file. RBA is used to access ESDS randomly. And it has been caluculated using the length of the record and the record number. You can use IDCAMS to Print the RBA for a particular/all the record/s.
Say for getting the RBA of 100th record in an ESDS