Dave:
Do you have
GLOBAL TXTLIB SCEELKED
GLOBAL LOADLIB SCEERUN
in effect?
Romney
____________________________
Romney White
Senior Technical Staff Member
IBM Z: Architecture and Technology
607-429-3447 Tieline: 620-3447
-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf
Of Dave Jones
Sent: Friday, August 4, 2023 11:35 AM
To: [email protected]
Subject: [EXTERNAL] CEEPIPI question on z/VM
Hello, all.
Hopefully someone here can lend a hand.....I am trying to compile and run the
CEEPIPI assemble sample program shown on page 52 of the "z/VM Version 7 Release
2 Language Environment User's Guide" (
https://www.ibm.com/docs/en/SSB27U_7.2.0/pdf/ceeb7_v7r2.pdf). I am on z/VM
7.3 and using the HLASM V1R6 assembler. The code assembles with no errors and I
can build an executable with the CMS commands:
LOAD ASMPIPE (RLDSAVE
GENMOD ASMPIPI
However when I run it I get the error message:
'call to CEEPIPI(INIT_SUB) failed'
and R2 has the value of 8 in it. This means:
All addresses in the table were not resolved. This can occur if a LOAD failure
was encountered, a routine within the table was not generated by a Language
Environment-conforming HLL, or a C or PL/I routine within the table was not
fetchable."
The HLL routine I am using is the sample C code shown on page 468 of the "z/OS
Version 2 Release 3 Language Environment Programming Guide" (
https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/zosv2r3sa380682/$file/ceea200_v2r3.pdf).
The C code is compiled with the z/VM C/C++ compiler with the NOSTART option and
the "#pragma linkage(HLLPIPI, fetchable)".
So, my question is: How can I debug this example?
Many thanks and have a good weekend, too.
DJ