In reply to Babu.

I am not aware of a one-line solution for this, but here are several resources which you may find helpful:

- Using the Java Object
- Java Programming for SAS Viya
- A Guide for Connecting Java to SAS® Data Sets
- Java in SAS®