The 7.4 book says Must point to the character string in guest real storage (storage that appears real to the issuing virtual machine) containing the CP commands and parameters. If the character string contains multiple commands, each command and its associated parameters must be separated from adjacent commands by the value X'15'.
I think from about 40 years ago you had to pagefix the storage before calling it. So allocate user storage on a page boundary, pfix it, diagnose ... unpfix it. I think on DOS/VSE we allocated 8K of storage... and used ((storage address/4096) +1)*4096 to store our data. We didnt have to go over 4K command As I said this was over 40 years ago On Thu, 8 Jan 2026 at 16:51, Willy Jensen <[email protected]> wrote: > I am playing around with the DIAGNOSE x'08' (Virtual console) instruction > in z/OS. The instruction is described in the z/VM CP Programming Services > manual where it says 'Command response. This address must be real to your > virtual machine. The buffer can cross page boundaries.'. As one supplies > the real starting address and a length, I assume that those pages have to > be contiguous, but I cannot find how to do that. I tried to allocate 4k+ > storage and check the real addresses and they certainly were not contiguous. > Any idea? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
