Jan-Erik Soderholm
2014-05-14 09:09:21 UTC
Hi.
First, don't ask *why* things are as they are, this is a
30+ year old system and I'm sure they had some good reason
to build it as it is when run on some VAX 11/xxx system...
Envir:
AS DS20e
OpenVMS 8.2
Language Cobol
We have some applications that are linked as a shareable image:
$ LINK/EXE=MK_ARK:MK.EXE/SHARE -
MK_ARK:aaa.OBJ,-
MK_ARK:bbb.OBJ,-
MK_ARK:ccc.OBJ,-
SYS$INPUT:/OPTION
MKSHARE/SHARE
SYMBOL_VECTOR=(aaa=PROCEDURE,-
bbb=PROCEDURE,-
ccc=PROCEDURE)
(MKSHARE is another shareable image, but that is not an issue.)
This apps are then run from our menu system that does know
how to start from a specific entry point/vector. You configure
the menu item with the name of the image (MK.EXE) and the name
of the entry point/vector (like aaa, bbb or ccc above).
The problem is that on our test system we don't have
access to that menu system. I have not found any easy
way to RUN from the DCL prompt from one of these
entry points/vectors in the shearable image.
What I'm doing at the moment when there is a need for
some testing of a specific application (like aaa, bbb
or ccc above), is to relink it as a stand-alone EXE.
But of course, that will not be *exactly* the same test
environment as the one running in prod.
So, what are the options to call/run from one of these
entry points/vectors in the shareable EXE ? Do we have
to build a spearate EXE that only does a CALL to one
of these apps (aaa, bbb or ccc) ?
Thanks,
Jan-Erik.
First, don't ask *why* things are as they are, this is a
30+ year old system and I'm sure they had some good reason
to build it as it is when run on some VAX 11/xxx system...
Envir:
AS DS20e
OpenVMS 8.2
Language Cobol
We have some applications that are linked as a shareable image:
$ LINK/EXE=MK_ARK:MK.EXE/SHARE -
MK_ARK:aaa.OBJ,-
MK_ARK:bbb.OBJ,-
MK_ARK:ccc.OBJ,-
SYS$INPUT:/OPTION
MKSHARE/SHARE
SYMBOL_VECTOR=(aaa=PROCEDURE,-
bbb=PROCEDURE,-
ccc=PROCEDURE)
(MKSHARE is another shareable image, but that is not an issue.)
This apps are then run from our menu system that does know
how to start from a specific entry point/vector. You configure
the menu item with the name of the image (MK.EXE) and the name
of the entry point/vector (like aaa, bbb or ccc above).
The problem is that on our test system we don't have
access to that menu system. I have not found any easy
way to RUN from the DCL prompt from one of these
entry points/vectors in the shearable image.
What I'm doing at the moment when there is a need for
some testing of a specific application (like aaa, bbb
or ccc above), is to relink it as a stand-alone EXE.
But of course, that will not be *exactly* the same test
environment as the one running in prod.
So, what are the options to call/run from one of these
entry points/vectors in the shareable EXE ? Do we have
to build a spearate EXE that only does a CALL to one
of these apps (aaa, bbb or ccc) ?
Thanks,
Jan-Erik.