On Tue, 6 Aug 2013 13:57:45 -0400, John Parke wrote: >Hi: > >The main Assembler routine is loading R1 with the >address of the parameter list and then branching to the Metal-C routine.
Ok so far. >The >Metal-C routine abends with an 0C4. When I look to where R1 is pointing >in the >dump, it appears to be where a program would pick up a parm if executed in >batch; i.e, parm=âsomeparm.â What do you mean by that? The system uses standard linkage to provide the PARM from the JCL to the program. Register 1 contains the address of a parameter list. The parameter list is one fullword containing the address of the parameter. >But the C program is not a âmainâ program. That doesn't make any difference for z/OS linkage conventions. >I have read the manual repeatedly What manual is that? The Assembler Programmer's Guide, chapter 2? Preferably release 12 or later. -- Tom Marchant
