Re: Assembler program attaching a C program

2022-11-21 Thread David Crayford
If you want to pass the address of a parameter list in R1 use the following. #pragma runopts(plist(os)) And in main struct plist * parms = ( struct plist * ) __R1; On 21/11/22 17:22, Fabio Massimo Ottaviani wrote: Hello I wrote an assembler program attaching a C program with ATTACHX

Re: End of several eras

2022-11-21 Thread g...@gabegold.com
And it will never be known what OCO cost IBM, customers, and the industry in terms of customer contributions/fixes/innovations it prevented. In VM-land, where source was once complete, its progression was like a light on a dimmer switch slowly fading out. But that's an old, settled, war. Maybe

Re: Assembler program attaching a C program

2022-11-21 Thread Amr@Systemz
Char **argv expects an array of char pointers, are you trying to pass that ? Why did you choose R10 for passing parameters ? Is your program using xlc or metal ? try sending it in R1. On Monday, November 21, 2022, 01:32:41 AM PST, Fabio Massimo Ottaviani wrote: Hello I wrote an

Re: End of several eras

2022-11-21 Thread Michael Stein
On Mon, Nov 21, 2022 at 06:06:43PM -0600, g...@gabegold.com wrote: > Fiche was fun. yes, definitely. I remember using fiche two versions back (save that old fiche) to help make a fix in VTIOC (TSO/VTAM) hung users which couldn't be canceled. And telling OPEN/CLOSE/EOV the line number

Re: End of several eras

2022-11-21 Thread g...@gabegold.com
Fiche was fun. Up to 370/148, microcode fiche was provided, including microcode problems. Browsing, I found one problem described as, "When LM instruction specifies same register twice -- that is, to load one register -- all 16 registers are loaded". Oops. And once, working on an interesting

Hillgang reminder

2022-11-21 Thread Neale Ferguson
The next meeting of Hillgang, the DC, Virginia, Maryland (DMV), z/VM and Linux user group is meeting in Herndon Virginia on the 6th of December. Agenda, location, and registration details are available at https://www.vm.ibm.com/events/hill1222.pdf. Registration is free and is used to determine

Re: GTTERM assistance (really 3270 VTAM application?)

2022-11-21 Thread Brian Chapman
Michael. Originally, I started on this project to build a PC service provider address space. The address space acquired several 64-bit areas with the IARV64 GETSHARED service, and the service provider would allow problem state address spaces to acquire interest into these 64-bit areas. The 64-bit

Re: Assembler program attaching a C program

2022-11-21 Thread Seymour J Metz
If the C program is designed to be called from JCL then it will expect R1 -> PLIST -> (LEN,CHARS), where LEN is a halfword containing the length of CHARS. The compiled prolog will convert that to a C parameter list. Whic C compiler are you using, with what options? -- Shmuel (Seymour J.) Metz

Re: Q: DB2 Online Classes

2022-11-21 Thread Steve Thompson
Thank you Binyamin. To your question about Admin stuff, that is what I had been doing for a client a few years ago. But now, I see a need for me to do DB2 applications stuff. But let me be clear on the Admin stuff -- I am not a DB2 DBA. I'm just a guy who can build tools that can generate

Re: AW: SPF/SE is available for free

2022-11-21 Thread Rony G. Flatscher
On 20.11.2022 22:35, Bob Bridges wrote: I haven't been keeping up with this thread, but I drop in on the random long-running thread just because, and I see this. For ooREXX and VBS and the like I've been trying out Notepad++, but I'm not entirely happy with it. You could use IntelliJ [1]

Re: Q: DB2 Online Classes

2022-11-21 Thread Binyamin Dissen
On Sun, 20 Nov 2022 18:17:42 -0500 Steve Thompson wrote: :>Anyone know of an online, at your own pace, DC2 programming class? :>I have a need to learn DB2 SQL type programming. I used to do :>this with Fujitsu COBOL on NT 4.0 years ago, but now I need to :>know the specifics of the DB2 world.

Re: Assembler program attaching a C program

2022-11-21 Thread Binyamin Dissen
On Mon, 21 Nov 2022 10:22:01 +0100 Fabio Massimo Ottaviani wrote: :>I wrote an assembler program attaching a C program with ATTACHX :>ATTCHATTACHX EP=PROGC,PARAM=R10, :> ECB=AMYECB, :> DISP=NO :>I set the address of the field, I want to pass

Assembler program attaching a C program

2022-11-21 Thread Fabio Massimo Ottaviani
Hello I wrote an assembler program attaching a C program with ATTACHX ATTCHATTACHX EP=PROGC,PARAM=R10, ECB=AMYECB, DISP=NO I set the address of the field, I want to pass as parameter, in R10 I checked that argv in the C program is empty Is