Thanks David, Being lazy I hadn't done any traces but you got me started.
The problem turned out to be in the program .. it was taking the CMNDLINE from NUCON instead of the PLIST and passing it. The only thing in the CMNDLINE is what is typed on the console. So when I executed the program from an exec only the exec name was in CMNDLINE. Tom -----Original Message----- From: David Kreuter [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 7:35 PM To: [email protected] Subject: Re: command line vs exec try doing an svc trace for svc 'CA' and 'CC'. You can do a trace like this: #CP TRACE SVC CA-CC CMD D G0.2 T0.100;BASE1 That will show the values of r0 and r1, plus the contents of r0 for 100'x bytes so you will see the plist. You can fish out the extended parameter list from the r0 value. See what gets passed. David Tom Huegel wrote: > I have tried everything I can think of. > > LIB is a module that is loaded as a nucleus extension. The doc for LIB > says it is a full XA mode program. > > I am on VM/ESA 2.3 I have tried with LIB below 16M and above 16M. > > I have tried EXEC1, EXEC2, REXX, and put it in a PIPE... > > Maybe for kicks Ill write a little program that does nothing but pass > parms to LIB and see what happens. > > I dont see anything in the source code that would differentiate > between a command coming from an exec or the command line. > > Ill look a little deeper, maybe try dropping the author a note. > > Thanks > > ------------------------------------------------------------------------ > > *From:* Jim Bohnsack [mailto:[EMAIL PROTECTED] > *Sent:* Thursday, October 13, 2005 1:07 PM > *To:* [email protected] > *Subject:* Re: command line vs exec > > Tom--If LIB is an exec, I suggest that you enter 'EXEC LIB SERVEXEC > SUBPROD EXEC PAUSEBG JCL'. If LIB is a module, try: > address command 'LIB SERVEXEC SUBPROD EXEC PAUSEBG JCL' > > Jim > > At 11:57 AM 10/13/2005, you wrote: > > > I have this program (downloaded from the tools) that is a CMS library > system. > > I have the server side (IUREC) running fine and the client (LIB) works > pretty good too. > > When I type the following line on my CMS client it works fine. > > LIB SERVEXEC SUBPROD EXEC PAUSEBG JCL > > But when I include the same line in an exec the parameters PAUSEBG > JCL dont get passed to the server. > > Has anyone run into something like this before? Is there something > different I can do in the EXEC? > > This is a trace from my 1 line exec. > > *-* LIB 'SERVEXEC SUBPROD EXEC PAUSEBG JCL' >>L> "LIB" >>L> "SERVEXEC SUBPROD EXEC PAUSEBG JCL" >>O> "LIB SERVEXEC SUBPROD EXEC PAUSEBG JCL" > > Thanks > > Jim Bohnsack > Cornell Univ. > (607) 255-1760 > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.11.14/130 - Release Date: 12/10/2005 > > >
