On Wed, 25 Oct 1995, SoftLink wrote:
> Hi,
>
> I got several answers, and i thank all of you, but none of them seems to
> work.
>
> I tryed another method (based on the info i got from the replys) and got
> interesting results:
>
> The file structure is:
>
> FILE: ABIN.PUB.SYS
>
> FILE CODE : 0 FOPTIONS: BINARY,VARIABLE,NOCCTL,STD
> BLK FACTOR: 1 CREATOR : **
> REC SIZE: 256(BYTES) LOCKWORD: **
> BLK SIZE: 260(BYTES) SECURITY--READ : ANY
> EXT SIZE: 51202(SECT) WRITE : ANY
> NUM REC: 4401 APPEND : ANY
> NUM SEC: 4480 LOCK : ANY
> NUM EXT: 6 EXECUTE : ANY
> MAX REC: 204800 **SECURITY IS ON
> MAX EXT: 8 FLAGS : NO ACCESSORS
> NUM LABELS: 0 CREATED : MON, OCT 23, 1995, 3:33 PM
> MAX LABELS: 0 MODIFIED: MON, OCT 23, 1995, 3:33 PM
> DISC DEV #: 2 ACCESSED: WED, OCT 25, 1995, 1:58 PM
> SEC OFFSET: 0 LABEL ADDR: **
> VOLCLASS : MPEXL_SYSTEM_VOLUME_SET:DISC
>
> so i tried :
> FILE t;dev=lp;rec=128,1,b
> fcopy from=abin;to=*t
> and got:
> *201*WARNING: FROMFILE IS BINARY, TOFILE IS ASCII
> CONTINUE OPERATION (Y OR N) ?
>
> (as you can see, it thinks the file *t is ascii, even if i defined it
> implicitly to binary!)
>
>
> What have i done wrong?
>
> Moshe
>
So after the warning, what did yo get?
The only difference (besides how rhey show up on LISTF) is the padding
binary = 0's
ASCII = blanks
If the file is binary numbers fcopy will NOT convert ( use HEX to see
what is on file).
NMD
|