Should it be
XC 2(6,R4),2(R4) Clear rest of header
Not
XC 2(6,R4),6(R4) Clear rest of header
De: H390-***@yahoogroups.com [mailto:H390-***@yahoogroups.com]
Enviada em: sexta-feira, 21 de setembro de 2018 17:00
Para: H390-***@yahoogroups.com
Assunto: Re: [H390-MVS] A question about loadparm.
<http://hercules-390.yahoogroups.narkive.com/rTC7neOC/loadparm-bare-hercules-and-mvs> http://hercules-390.yahoogroups.narkive.com/rTC7neOC/loadparm-bare-hercules-and-mvs
laddiehanus
8 years ago
Service call example
"This from a standalone program that runs DAT off"
L R2,SCPINFO Load in READ_SCP_INFO command word
L R4,SCPINAD Address of SCCB is at loc X'2000'
LHI R5,4096 Length of SCCB (4K max)
STH R5,0(R4) Save length in SCCB
XC 2(6,R4),6(R4) Clear rest of header
MVI 2(R4),X'80' Indicate Syncronous request
MVI 5(R4),X'80' Indicate variable request
DC X'B2200024'
...
...
...
SCPINFO DC X'00020001' READ_SCP_INFO Command Word
SCPINAD DC A(8192) SCCB located at X'2000'
memory display after the servc has executed
r 2000
R:00002000:K:06=10008000 00800010 04000104 00010000 ................
R:00002010:K:06=00200080 000002BF F0F3F4C5 F0F0D4C9 ........034E00MI
R:00002020:K:06=00000000 00000100 00000000 00000000 ................
R:00002030:K:06=C4040840 00000000 00000000 00000000 D.. ............
The load parm is at 2018
Refer to Hercules code service.c service.h
z/OS 1.11 data areas vol 5 look for SCCB
Laddie Hanus
Post by Harold Grovesteen ***@tx.rr.com [H390-MVS]I would not be comfortable adding B220 to the S/370 instruction table
without an analysis of which aspects of the instruction should be
disabled under S/370 and the information returned when executed under
370 mode.
If the desire is to simply access the loadparm information, I would
recommend simply adding a Hercules specific DIAGNOSE code that returns
the loadparm data in a register pair or the two registers as specified
by the DIAGNOSE instruction. These have been codes starting at
X'F00'.
If such a DIAGNOSE code already exists in VM, although I did not find
one, then that would be the preferred choice.
Much simpler and less intrusive into Hercules itself. Of course if I
were doing it, it would be in Hyperion and not spinhawk.
Harold Grovesteen
On Tue, 2018-09-18 at 11:52 +0200, Giuseppe Vitillaro
<https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.z> https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.z
os.v2r2.ieag100/a2field.htm
I guess for Z/OS 2.2.
And I'm wondering how difficult would be a usermod for MVS3.8j
to support the loadparm 7 character semantic, the IMSI character.
I guess for MVS3.8j, at least for me, would be enough to support
the IMSI characters S/T.
I hope this is a topic which may be discussed on a public list,
as it is for MVS3.8j actually, not for Z/OS.
Peppe.
------------------------------------
------------------------------------
------------------------------------
Yahoo Groups Links