CEEPIPI question on z/VM

7 views
Skip to first unread message

Dave Jones

unread,
Aug 4, 2023, 11:35:23 AM8/4/23
to ASSEMBL...@listserv.uga.edu
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

Romney White

unread,
Aug 4, 2023, 11:45:46 AM8/4/23
to ASSEMBL...@listserv.uga.edu
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

Dave Jones

unread,
Aug 4, 2023, 12:06:11 PM8/4/23
to ASSEMBL...@listserv.uga.edu
Hi, Romney.
Yes to both:
Ready; T=0.10/0.12 11:05:32
q loadlib
LOADLIB = SCEERUN
Ready; T=0.01/0.01 11:05:36
q txtlib
TXTLIB = SCEELKED CMSLIB
Ready; T=0.01/0.01 11:05:43

DJ
Reply all
Reply to author
Forward
0 new messages