Sorry, I transposed some numbers, the block size is really 32640, I typed it wrong here. <br><br>Here is how I actually got around it, I piped the DD command into the external file name: Here is the code:<br><br>DD_ID1FILE='< dd if=/dev/rmt/c13t0d0s0ny ibs=32640'<br>export DD_ID1FILE<br><br>DD_OD1FILE=/home1/jlamatti/devdir/data/tape000201.dat<br>export DD_OD1FILE<br><br>cobrun /home1/jlamatti/devdir/src/COPY128 <br><br><br>In the cobol program itself I had the following.<br><br>SPECIAL-NAMES.<br> CHARXSET IS EBCDIC.<br><br><br>SELECT INPUT-FILE<br> ASSIGN TO EXTERNAL ID1FILE<br> ORGANIZATION LINE SEQUENTIAL.<br><br>*********************************************************<br>** INPUT FILE - 128 CHARACTERS LONG **<br>*********************************************************<br> FD INPUT-FILE<br> BLOCK CONTAINS 0 RECORDS<br> RECORD CONTAINS 128 CHARACTERS<br> CODE-SET IS CHARXSET<br> LABEL RECORDS ARE STANDARD<br> RECORDING MODE IS FIXED<br> DATA RECORD IS INPUT-RECORD.<br><br> 01 INPUT-RECORD PIC X(128).<br><br><br>The above code allowed the program to read all 236,624 records and converted the data from EBCDIC to ASCII. <br><br><br>Joe <br><br><br><br><br>