Thanks to all.. 

I now have it working! I modified Dave's program and then called it from batch.
Then I used linkmvs from a REXX to call it for each member that I wanted 
processed. No sense 
in doing all the string manipulation and file i/o in the assembler program .. 
at my age and skill level
too prone to error..

One last issue I had was that at first I used a string variable to my program 
in linkmvs.. bad idea..
the parameter list was not close to what you get coming in from JCL  via exec 
pgm=xxx,parm='xxxx xxx'

After a few trips through abend-aid I decided to do exactly what I saw in the 
example from MAIFRAME SUPPORTS
and  did this..

myparm = prm.i 
address linkmvs "UTL45 MYPARM"

and all was good..

-don

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to