In reply to Pankaj Shinde.

There isn't a direct Java API for this. You can use Java to connect to a SAS session using SAS Integration Technologies, and then submit SAS programs to check things such as PROC OPTIONS and the LOCKDOWN statement, but I'm not sure that's what you want. Can you explain your scenario a bit more and perhaps I can suggest something?