IBM PL/I for OS/2 problem

9 views
Skip to first unread message

Iron Spring Software

unread,
Sep 29, 2020, 5:25:47 PM9/29/20
to
This is a long shot, I know. I don't know if anyone is using this.
PL/I V2.R1.00, ArcaOS (sorry, can't find release)
When I try to link a compiled PL/I program I get the following message:
"fatal error L1104: C:\IBMPLI\LIB\IBMOS20I.LIB : not valid library"
I don't use IBM PL/I often, when I went to do something recently I got
this error. I thought the file may have been corrupted so I reinstalled
from the CD, but I'm still getting the same problem.

Grant Taylor

unread,
Sep 29, 2020, 5:43:38 PM9/29/20
to
A buddy who programs and has dabbled in PL/I stated "sounds like data
corruption" or "a LINK version mismatched to that LIB file".



--
Grant. . . .
unix || die

Dave Yeo

unread,
Sep 30, 2020, 1:34:11 AM9/30/20
to
What linker and librarian? Can you disassemble the lib into it's components?
Dave

Iron Spring Software

unread,
Sep 30, 2020, 2:20:04 PM9/30/20
to
Sorry for the non-reply. I clicked off the group and forgot to mark the
messages unread. It looks like the library is corrupt.

I tried recopying it from the CD image, and still have the problem. I'm
not sure I ever used this version of PL/I:
5639-D65 IBM(R) VisualAge(TM) PL/I for OS/2(R) V2.R1.00
Copyright (C) IBM Corporation 1992,1998 With lick I may have an older
version that I know works.

Here's the information:

I have three versions of LINK386 on my system:
C:\TOOLKIT\BIN\LINK386.EXE Version 4.00.000 Oct 15 1996
C:\IBMPLI\BIN\LINK386.EXE Version 4.00.000 Mar 12 1997
C:\OS2\LINK386.EXE Version 4.00.001 Sep 24 2001

9-08-99 10:00a 53,399 252 a--r IBMOS20I.LIB

I'm using the command supplied with IBM PL/I.
Tried with each version of Link386.
<each of above>\link386.exe testuns.obj /pm:vio /noe /co /sta
00000,,load.map,ceelink +ibmlink;

Dump of start of library
00000000 f3 15 00 00 d4 04 00 00 57 02 12 00 88 18 00 00
|........W.......|
00000010 6e 09 00 00 52 8e 00 00 00 00 00 00 00 00 00 00
|n...R...........|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
00000250 00 00 00 00 00 00 00 00 00 00 6c 3a 5c 6f 73 32
|..........l:\os2|
00000260 5c 6e 6f 64 62 67 5c 6e 6f 6e 6d 74 5c 69 62 6d
|\nodbg\nonmt\ibm|
00000270 70 32 73 74 72 2e 4f 42 4a 00 6c 3a 5c 6f 73 32
|p2str.OBJ.l:\os2|
00000280 5c 6e 6f 64 62 67 5c 6e 6f 6e 6d 74 5c 69 62 6d
|\nodbg\nonmt\ibm|




Peter Flass

unread,
Sep 30, 2020, 2:35:00 PM9/30/20
to
Dave, I used to be anOS/2 guru years ago, but I’ve forgotten most of it by
now. What would I use to disassemble the library? I didn’t see anything
from the toolkit. I have Watcom and emx also.

--
Pete

Paul Ratcliffe

unread,
Sep 30, 2020, 9:01:00 PM9/30/20
to
On Wed, 30 Sep 2020 11:34:58 -0700, Peter Flass <peter...@yahoo.com> wrote:

> Dave Yeo <dave....@gmail.com> wrote:
>> On 09/29/20 02:25 PM, Iron Spring Software wrote:
>>> This is a long shot, I know. I don't know if anyone is using this.
>>> PL/I V2.R1.00, ArcaOS (sorry, can't find release)
>>> When I try to link a compiled PL/I program I get the following message:
>>> "fatal error L1104: C:\IBMPLI\LIB\IBMOS20I.LIB : not valid library"
>>> I don't use IBM PL/I often, when I went to do something recently I got
>>> this error. I thought the file may have been corrupted so I reinstalled
>>> from the CD, but I'm still getting the same problem.
>>
>> What linker and librarian? Can you disassemble the lib into it's components?
>> Dave
>>
>
> Dave, I used to be anOS/2 guru years ago, but I???ve forgotten most of it by
> now. What would I use to disassemble the library? I didn???t see anything
> from the toolkit. I have Watcom and emx also.

Have you got LIB.EXE or ILIB.EXE or similar?

Steven Levine

unread,
Sep 30, 2020, 9:57:57 PM9/30/20
to
On Tue, 29 Sep 2020 21:25:43 UTC, Iron Spring Software
<Peter...@Yahoo.com> wrote:

Hi Peter,

> This is a long shot, I know. I don't know if anyone is using this.
> PL/I V2.R1.00, ArcaOS (sorry, can't find release)

What are the executable dates? That will give me an idea whether the
distro is from the CSet era or the VAC era.

> When I try to link a compiled PL/I program I get the following message:
> "fatal error L1104: C:\IBMPLI\LIB\IBMOS20I.LIB : not valid library"

You can do a rough verifcation of the library with:

ilib /listlevel:1 C:\IBMPLI\LIB\IBMOS20I.LIB ,con

If PL/I is sufficiently old, this will be lib rather than ilib, but
the syntax should be similar.

Steven

--
---------------------------------------------------------------------
Steven Levine <ste...@earthlink.bogus.net>
DIY/ArcaOS/Warp etc. www.scoug.com www.arcanoae.com www.warpcave.com
---------------------------------------------------------------------

Steven Levine

unread,
Sep 30, 2020, 10:18:52 PM9/30/20
to
On Thu, 1 Oct 2020 01:57:51 UTC, "Steven Levine"
<ste...@nomail.earthlink.net> wrote:

Hi Peter,

FWIW, there's a PL/I demo on DevCon V12. It contains a copy of the
lib which identifies itself as:

8-22-96 13:24 40,629 0 IBMOS20I.LIB

1cbb05bb75eadc03a69a5ad8c5a6dda6 *IBMOS20I.LIB

This PL/I ships with ilink and ilib, so I would check your makefile
and verify which linker you should be using.

Iron Spring Software

unread,
Oct 1, 2020, 11:47:19 AM10/1/20
to
Thanks, Paul. I need to get back into a lot of this. the ilib listing is at:
http://teampli.net/ilib.IBMOS20I
Looks OK to me. It appears perhaps my config.sys isn't including the
appropriate message directory.

I was going to try to delete this version of PL/I and re-install 1.1,
but I can't find the correct install CD, so all I managed to do is
delete the new version and had to restore from a backup, so things are a
bit screwy right now.
Reply all
Reply to author
Forward
0 new messages