[re-sent with the correct Reply-to; sorry]

Phil Sidler wrote:
On Thu, 21 Dec 2006 15:42:22 -0700, Steve Comstock
<[EMAIL PROTECTED]> wrote:


Indeed, I tried what you suggested and got a S0C4
(of course, I could have made some kind of an
error in copying or compiling, etc., but I think
I'm closer to right on this one).


Well, I was a bit cavalier in thinking I code code this by hand w/o testing it.

But this does work:

int main(int argc, char * argv[]) {
int i; for (i=1; i<argc; i++) printf("%s ", argv[i]); return(0); }

I don't think so, for address linkmvs. You have to
invoke it from a REXX exec. Here's a simple exec to
use for testing:

--------

/* rexx for testing address linkmvs */
var1 = 'one of these days'
var2 = 'two is a yellow number'
var3 = 'three or more holidays'

'ispexec libdef ispllib id(_name of loadlib with pgm_)
  dataset stack'

address linkmvs cla2 'var1 var2 var3'

'ispexec libdef ispllib'

------------------------------------------

You need the LIBDEF unless you've compiled
and bound the program into a steplib used by
your TSO session or the link pack area or the
linklist.


Kind regards,

-Steve Comstock

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to