[Info-vax] VSI roadmap

Arne Vajhøj arne at vajhoej.dk
Sat Aug 26 13:30:21 EDT 2023


On 8/26/2023 1:28 PM, Arne Vajhøj wrote:
> org=SEQ rfm=VFC eof=1 ffb=18
> C
> ||
> ||
> ||
> Pascal
> |AA|
> |BB|
> |CC|
> DCL
> |AA|
> |BB|
> |CC|

> org=IDX rfm=VAR eof=16 ffb=0
> C
> |AA|
> |BB|
> |CC|
> Pascal
> %PAS-F-TEXREQSEQ, textfiles require sequential organization and access
>    File "F"  Filename "DISK2:[ARNE]ffun.txt;8"
> %TRACE-F-TRACEBACK, symbolic stack dump follows
>    image    module    routine             line      rel PC           abs PC
>   PAS$RTL                                    0 00000000000200BC 
> 000000007BFE80BC
>   PAS$RTL                                    0 00000000000361C8 
> 000000007BFFE1C8
>   PAS$RTL                                    0 00000000000228E8 
> 000000007BFEA8E8
>   PAS$RTL                                    0 00000000000200BC 
> 000000007BFE80BC
>   PAS$RTL                                    0 0000000000021584 
> 000000007BFE9584
>   ffun_p  FFUN  FFUN                         8 0000000000000074 
> 0000000000020074
>                                              0 FFFFFFFF80340964 
> FFFFFFFF80340964
> %TRACE-I-END, end of TRACE stack dump
> DCL
> |AA|
> |BB|
> |CC|

> And then C fgets fail on VFC. It looks like it read the
> control bytes as data. WTF? I believe it has been revealed that
> C IO does not use SYS$GET to read records but SYS$READ to read
> blocks, so there is a reason why C is different. But I would
> still consider it a bug.

But C IO must be using SYS$GET for ORG=IDX or that would have
failed as well.

Arne





More information about the Info-vax mailing list