// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.io.*;

public class OSDemo {
    public static void main(String[] args) throws Exception {
        try(OutputStream os = new FileOutputStream("os.dat")) {
            os.write(1);
            os.write(2);
            os.write(3);
        }
    }
}
