IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CLIST - CALL Command


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ricardolisboa

New User


Joined: 16 Apr 2007
Posts: 9
Location: Brazil

PostPosted: Wed Dec 08, 2010 10:59 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Dec 08, 2010 11:02 pm
Reply with quote

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
View user's profile Send private message
ricardolisboa

New User


Joined: 16 Apr 2007
Posts: 9
Location: Brazil

PostPosted: Wed Dec 08, 2010 11:04 pm
Reply with quote

I tried these models..thanks anyway
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 08, 2010 11:18 pm
Reply with quote

Does that mean you resolved your issue?
Back to top
View user's profile Send private message
ricardolisboa

New User


Joined: 16 Apr 2007
Posts: 9
Location: Brazil

PostPosted: Wed Dec 08, 2010 11:34 pm
Reply with quote

No Robert..Still not working..my program do not return anything when i use the parameters gave by Superk
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 08, 2010 11:51 pm
Reply with quote

Have you tried
Code:
CALL 'myloadlib.(programname)'  'parameters'
as specified in the TSO Commands manual?
Back to top
View user's profile Send private message
ricardolisboa

New User


Joined: 16 Apr 2007
Posts: 9
Location: Brazil

PostPosted: Thu Dec 09, 2010 12:14 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top