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 
<[email protected]> wrote:  
 
 Hello 

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?

Thanks
Fabio

----------------------------------------------------------------------
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

Reply via email to