On Mon, 21 Nov 2022 10:22:01 +0100 Fabio Massimo Ottaviani <[email protected]> wrote:
:>I wrote an assembler program attaching a C program with ATTACHX :>ATTCH ATTACHX 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 there something I have to do in the C program to get the content of the field? To pass the address of the item pointed to by R10, you must specify (R10) Then the question is how the C main program expects the parameters. If it expects an OS plist, R10 must point to a halfword length followed by data/text. -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
