Jump to page titleUNITED STATES
hp.com home products and services support and drivers solutions how to buy
» contact hp

:

more options
 

hp.com home
End of Jump to page title
[DEC PL/1] -RMS-W-RTB Error With GET EDIT
Jump to content



» 

business support center

Home & Home Office Support:
» HP branded products
» Presario branded products
» Services & Warranties
Small & Medium Business Support:
» Small & Medium Business products
» Small & Medium Business services
Support for IT Professionals:
» Enterprise products (IT Resource Center)
» NonStop enterprise products
» Business & IT Services
Content starts here
Copyright (c) Digital Equipment Corporation 1994, 1995.  All rights reserved.

PRODUCT:  DEC PL/I Version 4.0-5

OP/SYS:   OpenVMS AXP Version 6.1

SOURCE:   Digital Equipment Corporation


SYMPTOM:

When using  DEC PL/I on OpenVMS AXP, a GET EDIT statement used to read a
large (800 byte) record fails with the messages

    %PLI-F-ERROR, PL/I ERROR condition.
    -PLI-I-IOERROR, I/O error on file 'F'.
    -PLI-I-FILENAME, File name: 'DEVICE:[DIRECTORY]FILENAME.TYPE;1'.
    -PLI-I-RMSR, PL/I internal RAB condition.
    -RMS-W-RTB, 800 byte record too large for user's buffer

The same program can read the same file using VAX PL/I on OpenVMS VAX.


DIGITAL RESPONSE:

This problem has been acknowledged by engineering and they plan to
fix it in the next version of DEC PL/I for OpenVMS AXP.


WORKAROUND:

The large record can be read using the READ statement if the file is
declared SEQUENTIAL.


ANALYSIS:

The file had been created with the LRL field in the file header set to
800, but with the MRS field in the file header set to 0. The GET EDIT
statement cannot then read the file.  The command

    $ SET FILE/ATTR=(MRS:800) filename.type

can be used to modify the file header so that the MRS field is also set
to 800, after which the GET EDIT statement will succeed. With VAX PL/I
on OpenVMS VAX, both files (MRS:0 and MRS:800) were
readable.



buy online or call 1.800.AT.COMPAQ
privacy statementusing this site means you accept its terms