What is a "mainframe file"? Using the java.io classes it's possible to read any file, text or binary. The question is whether the file format is documented, and the Java code can make sense of it.
actually the file is a mainframe specific file which is called as a ps file(partition sequential)file.currently the mainframe program runs a job to convert the ps file to text file and puts the text file into the queue.
From the queue java reads the text file.but now we need to read the ps file directly.is it possible?
Yes, it's possible. Did you check out the java.io package I mentioned?
But converting it to a text file -as the mainframe program does- presumably requires inside knowledge of the file format. You will need to code that yourself, if you don't have a library that can handle it.
He baked a muffin that stole my car! And this tiny ad:
Gift giving made easy with the permaculture playing cards