Skip to content

ODS2 COPY of VMS text library from PC to ods2 results in unreadable library file #17

@vaxorcist

Description

@vaxorcist

I use the following commands to transfer the MORIA VMS PASCAL sources (including a MORIAHLP.HLB) from my PC to an RD31 disk image:

SET NOERROR_EXIT
SET VERIFY
INIT/CREATE/MEDIUM_TYPE=RD31/LOG MORIA.RD31 MORIA
SHOW VOL
CREATE/DIRECTORY/LOG [SOURCE]
CREATE/DIRECTORY/LOG [EXECUTE]
CREATE/DIRECTORY/LOG [DOC]

set cwd moria_443
COPY /TO_FILES-11/ASCII build.com [000000].

set cwd doc
COPY /TO_FILES-11/ASCII . [DOC].

set cwd "../execute"
COPY /TO_FILES-11/BINARY/record_format=fixed=512 .hlb [EXECUTE].*

set cwd "../source"
COPY /TO_FILES-11/ASCII .pas [SOURCE].*

CREATE/DIRECTORY/LOG [SOURCE.MACRO]
set cwd "macro"
COPY /TO_FILES-11/ASCII .mar [SOURCE.MACRO].*

CREATE/DIRECTORY/LOG [SOURCE.INCLUDE]
set cwd "../include"
COPY /TO_FILES-11/ASCII . [SOURCE.INCLUDE].

SET DEFAULT [SOURCE.INCLUDE]
DIR /DATE/SIZE
DISMOUNT A:

When I try to read the MORIAHLP.HLB from MORIA (or DCL), I get the following error message:

%HELP-E-OPENIN, error opening DUA1:[EXECUTE]MORIAHLP.HLB; as input
-RMS-F-IRC, illegal record encountered; VBN or record number = 0

The MORIAHLP.HLB characteristics as seen from VMS DCL are:

$ dir/full MORIAHLP.HLB

Directory DUA1:[EXECUTE]

MORIAHLP.HLB;1 File ID: (18,1,0)
Size: 151/151 Owner: [1,1]
Created: 14-AUG-2017 12:08 Revised: 14-AUG-2017 12:08 (0)
Expires: Backup:
File organization: Sequential
File attributes: Allocation: 151, Extend: 0, Global buffer count: 0
Version limit: 0, Contiguous
Record format: Fixed length 512 byte records
Record attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None

Total of 1 file, 151/151 blocks.
$

The characteristics of a known working HLB file are:

SDA.HLB;1 File ID: (379,1,0)
Size: 53/54 Owner: [SYSTEM]
Created: 15-JUN-1987 12:17 Revised: 15-JUN-1987 12:17 (1)
Expires: Backup:
File organization: Sequential
File attributes: Allocation: 54, Extend: 0, Global buffer count: 0
No version limit, Contiguous best try
Record format: Fixed length 512 byte records
Record attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RWED, World:RE
Access Cntrl List: None

The version of ods2 used is:

ODS2$> sh versi
ODS2 V3.0.2 built Apr 11 2023 20:11:33 with libedit version 2.11
Platform: Linux x86-64 C11
Compiler: gcc, version 10.2.1 20210110
Large files and devices (>2GB) are supported
VHD format image files are supported
ODS2$>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions