Re: Python (551 Views)
Reply
Advisor
Mark Battle
Posts: 23
Registered: ‎11-27-2007
Message 1 of 7 (551 Views)
Accepted Solution

Python

Following various comments here I thought I would give Python a try, so I went to http://www.vmspython.org/DownloadAndInstallationPython and tried to follow the instructions.

First it talks about an LD image, which is not a term I am familiar with. A search in this site does not help.

Anyway I downloaded two files, which were .gz instead of .zip. I ignored this discrepancy and used unzip which happily produced two .dsk files.

I then tried
ld connect JFPLIB0004A.DSK;1 lda1:
%LD-F-DETECTEDERR, Detected fatal error
-SYSTEM-W-NOSUCHDEV, no such device available

The suggested sytax is not valid
ld CONNECT jfplib0004{arch}.dsk lda1:
%LD-F-OPENERR, Unable to open file JFPLIB0004{ARCH}.DSK
-RMS-F-SYN, file specification syntax error

There are no results from
help ld

What am I doing wrong?

System OpenVMS V8.2

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,068
Registered: ‎02-23-2005
Message 2 of 7 (551 Views)

Re: Python

I know nothing, but ...

> [...] so I went to
> http://www.vmspython.org/DownloadAndInstallationPython
> and tried to follow the instructions.

Including the part where it says:

In the followings examples replace {arch} by i or a:

* a for an AXP architecture kits
* i for an Itanium architecture kits

???


> There are no results from
> help ld
> [...]
> System OpenVMS V8.2

You may need to fetch and install the LD kit
for your VMS version/architecture. (I
thought that it came with the OS these days,
but that may be V8.3 and up.)
Please use plain text.
Honored Contributor
labadie_1
Posts: 1,221
Registered: ‎08-07-2003
Message 3 of 7 (551 Views)

Re: Python

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,068
Registered: ‎02-23-2005
Message 4 of 7 (551 Views)

Re: Python

> See this post

> [...] the name of the LD device may change
> after a reboot.

Around here, LD CONNECT lets you specify a
logical name, so that you don't need to worry
about which "physical" LD device it
creates/uses.

alp $ ld version
%LD-I-VERSION, LD version V8.2, module X-8 built on Jun 29 2006 17:51:35
-LD-I-DRIVERVERSION, Driver version: 29-JUN-2006 18:18:50.92
-LD-I-SYSINFO, Node: ALP::, Hardware: COMPAQ Professional Workstation XP1000, VMS version: V8.3


LD is good stuff.
Please use plain text.
HP Pro
Ian Miller.
Posts: 4,370
Registered: ‎06-03-2003
Message 5 of 7 (551 Views)

Re: Python

and you get the latest LD Driver from

http://www.digiater.com/lddriver.html
___________________
Purely Personal Opinion
Please use plain text.
Valued Contributor
Lucifer Megacruel
Posts: 64
Registered: ‎01-05-2011
Message 6 of 7 (551 Views)

Re: Python

Hello Mark,
run ld startup com procedure
$@sys$startup:ld$startup


On an 8.4 itanium box i tried , error messages were more meaningful and i was told to run this script. Pyhton runs fine on OpenVMS. I have faced issues with using sqlite3 though .

--Lucifer
"To Denouce the Evils of Truth and Love. To cause may hem and destruction and necromancy , Lucifer is here"
Please use plain text.
Advisor
Mark Battle
Posts: 23
Registered: ‎11-27-2007
Message 7 of 7 (551 Views)

Re: Python

Hi Lucifer

$@sys$startup:ld$startup

is the magic incantatation.

ld version does not work so I guess I have an old version of LD, but it seems good enough to run Python.

Now all I have to do is learn how to use it.
Many thanks.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation