Contents of demo_fixed_1.com $! create 256 records of 1 bytes into a VMS fixed length carriage control file $ create demo_fixed_1_byte.txt/fdl=sys$input record;format fixed;size 1 $ close/nolog demofile $ open/append demofile demo_fixed_1_byte.txt $ count = 1 $ limit = 256 $_loop_top: $ if count .gt. limit then goto _loop_end $ write demofile "A" $ count = count + 1 $ goto _loop_top $_loop_end: $ close demofile $ dump demo_fixed_1_byte.txt $ exit $ @demo_fixed_1 Dump of file ROOT$USERS:[JON.SCRATCH]DEMO_FIXED_1_BYTE.TXT;5 on 4-MAY-2007 02:43:34.54 File ID (221257,166,0) End of file block 1 / Allocated 8 Virtual block number 1 (00000001), 512 (0200) bytes 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000000 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000020 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000040 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000060 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000080 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 0000A0 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 0000C0 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 0000E0 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000100 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000120 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000140 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000160 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 000180 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 0001A0 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 0001C0 00410041 00410041 00410041 00410041 00410041 00410041 00410041 00410041 A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A. 0001E0 $ Note the "filler" bytes (Null 0x00) to force alignment to next word boundary. The following uses 2 byte records, and since it is already word aligned, no filler bytes are added. Contents of demo_fixed_2.com $! create 256 records of 2 bytes into a VMS fixed length carriage control file $ create demo_fixed_2_byte.txt/fdl=sys$input record;format fixed;size 2 $ close/nolog demofile $ open/append demofile demo_fixed_2_byte.txt $ count = 1 $ limit = 256 $_loop_top: $ if count .gt. limit then goto _loop_end $ write demofile "AA" $ count = count + 1 $ goto _loop_top $_loop_end: $ close demofile $ dump demo_fixed_2_byte.txt $ exit $ @demo_fixed_2 Dump of file ROOT$USERS:[JON.SCRATCH]DEMO_FIXED_2_BYTE.TXT;3 on 4-MAY-2007 02:43:50.15 File ID (236712,67,0) End of file block 1 / Allocated 8 Virtual block number 1 (00000001), 512 (0200) bytes 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000000 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000020 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000040 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000060 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000080 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0000A0 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0000C0 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0000E0 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000100 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000120 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000140 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000160 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 000180 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0001A0 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0001C0 41414141 41414141 41414141 41414141 41414141 41414141 41414141 41414141 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0001E0 $ This file should be transfered in binary or image mode, if the other end is expecting no record delimiters.