Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 8165
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: 8165
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us