Discussion:
IBM PL/I for OS/2 problem
(too old to reply)
Iron Spring Software
2020-09-29 21:25:43 UTC
Permalink
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
2020-09-29 21:43:41 UTC
Permalink
Post by Iron Spring Software
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)
   "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.
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
2020-09-30 05:34:09 UTC
Permalink
Post by Iron Spring Software
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)
"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
Peter Flass
2020-09-30 18:34:58 UTC
Permalink
Post by Dave Yeo
Post by Iron Spring Software
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)
"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.
--
Pete
Paul Ratcliffe
2020-10-01 00:29:25 UTC
Permalink
Post by Dave Yeo
Post by Iron Spring Software
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)
"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?
Iron Spring Software
2020-10-01 15:47:15 UTC
Permalink
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.
Post by Paul Ratcliffe
Post by Dave Yeo
Post by Iron Spring Software
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)
"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?
Iron Spring Software
2020-09-30 18:20:01 UTC
Permalink
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|
Steven Levine
2020-10-01 01:57:51 UTC
Permalink
On Tue, 29 Sep 2020 21:25:43 UTC, Iron Spring Software
<***@Yahoo.com> wrote:

Hi Peter,
Post by Iron Spring Software
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.
Post by Iron Spring Software
"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 <***@earthlink.bogus.net>
DIY/ArcaOS/Warp etc. www.scoug.com www.arcanoae.com www.warpcave.com
---------------------------------------------------------------------
Steven Levine
2020-10-01 02:18:47 UTC
Permalink
On Thu, 1 Oct 2020 01:57:51 UTC, "Steven Levine"
<***@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.

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