Try adding ASCII to the end of the BUILD

        BUILD TESTFILE;REC=-256,,F,ASCII



Ray Shahan

"Life is what happens while you're busy making plans", John Lennon

> -----Original Message-----
> From: Gibson Nichols [SMTP:[log in to unmask]]
> Sent: Wednesday, June 05, 2002 3:47 PM
> To:   [log in to unmask]
> Subject:      BUILD with rec= negitive number displays as WORDS in listf
>
> When I build a file I specify the record length in bytes.  But the display
> in LISTF is in WORDS.
> I realize that 256 bytes equals 128 words; however, the programmers see a
> difference and
> wish to avoid any differences in some test they are running.
>
> So, how do I control either the BUILD or the LISTF commands to be
> consistent.
>
> :LISTF TESTFILE,2
> Non-existent file. (CIERR 907)
> :BUILD TESTFILE;REC=-256
> :LISTF TESTFILE,2
> ACCOUNT=  XXX         GROUP=  PUB
>
> FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
>                   SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
>
> TESTFILE          128W  FB           0       1023   1        0  0  *
>
>
> :
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *