// 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.DataOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Gen1 {
    public static void main(String[] args) throws IOException {
        DataOutputStream dos = new DataOutputStream(new FileOutputStream("/Work/z1.txt"));
        byte b = 0x41;
        dos.writeByte(b);
        short s = 0x4243;
        dos.writeShort(s);
        dos.close();
    }
}
