View previous topic :: View next topic
|
Author |
Message |
ricardolisboa
New User
Joined: 16 Apr 2007 Posts: 9 Location: Brazil
|
|
|
|
Hello Folks,
I was taking a look at IBM Clist manual..but i did not find the correct way to accomplish what im trying to do.
I need to call a program using a specific parm value for this one.
The way im doing is the following:
CALL 'myloadlib.(programname)'
But i need to call this guy using a parm..like in JCL... ',parm=parmname'
Can you help me please?
Thank you very much.
:D |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
If you're really looking in the CLIST manual, then that's part of the problem. Call is a TSO command. Look here instead. |
|
Back to top |
|
|
ricardolisboa
New User
Joined: 16 Apr 2007 Posts: 9 Location: Brazil
|
|
|
|
I tried these models..thanks anyway |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Does that mean you resolved your issue? |
|
Back to top |
|
|
ricardolisboa
New User
Joined: 16 Apr 2007 Posts: 9 Location: Brazil
|
|
|
|
No Robert..Still not working..my program do not return anything when i use the parameters gave by Superk |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Have you tried
Code: |
CALL 'myloadlib.(programname)' 'parameters' |
as specified in the TSO Commands manual? |
|
Back to top |
|
|
ricardolisboa
New User
Joined: 16 Apr 2007 Posts: 9 Location: Brazil
|
|
|
|
Hmm take a look
CALL '&#DFLOAD.(DF080A00)' 'RESIDENT' +
'$MOD=(SYSIN=DFSYSIN)'
The $MOD field is to input values to the SYSIN of the program and the + value is to bring everything together
I was trying 'PARM=RESIDENT' and it was wrong..if i just put the name of the parm, in this case RESIDENT the program i will assume the PARM= in the front of the parm value.
Thanks..its almost working..the problem now is : its not working with the '+' but its recognizing the parm value 'RESIDENT' without it.
I need to put the $MOD together to the program work properly..
But thank you very much..i will try to handle myself the final adjusts for this one
Thanks again |
|
Back to top |
|
|
|