MarcReader reader = new MarcStreamReader(input);
while (reader.hasNext()) {
Record record = reader.next();
// get control field with tag 008
ControlField controlField = (ControlField) record
.getVariableField("008");
String data = controlField.getData();
// the three-character MARC language code takes character
// positions 35-37
String lang = data.substring(35, 38);
System.out.println("Language code (008 35-37): " + lang);