Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CLIST - CALL Command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: CLIST - CALL Command
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

Moderator Team Head


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

PostPosted: Wed Dec 08, 2010 11:02 pm    Post subject: Reply to: CLIST - CALL Command
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    Post subject:
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 08, 2010 11:18 pm    Post subject:
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    Post subject:
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 08, 2010 11:51 pm    Post subject:
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    Post subject: Reply to: CLIST - CALL Command
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us