I got a situation where I dont want to get my edit macro run if the dataset is opened in EDIT mode. So, how can I check whether the dataset is in EDIT or VIEW mode in my macro.
My researches on this are:
TSO ISRDDN E -> This command is popping a new panel. But I want that check has to be done in background.
ISPEXEC "LISTA STATUS" -> This is showing only the dataset names which got allocated to that user name.