MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invoking a CLIST Program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Ramkumar
Beginner


Joined: 04 Apr 2005
Posts: 19
Topics: 10

PostPosted: Wed Sep 21, 2005 11:01 pm    Post subject: Invoking a CLIST Program Reply with quote

Hi,

How can I invoke a CLIST program using REXX exec.

Thanks in advance,
Ramkumar.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Sep 22, 2005 4:46 am    Post subject: Reply with quote

Ramkumar,

Try this. Lets assume that you want to invoke clist name MYCLIST

Code:

LIB = "PDS.HAVING.CLIST"
"EXEC '"LIB"(MYCLIST)' CLIST"
EXIT


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ramkumar
Beginner


Joined: 04 Apr 2005
Posts: 19
Topics: 10

PostPosted: Thu Sep 22, 2005 6:14 am    Post subject: Reply with quote

Hi Kolusu,

Thanks a lot. If I want to pass the data while invoking the CLIST program, what can I do?

Thanks in advance,
Ramkumar.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Sep 22, 2005 7:43 am    Post subject: Reply with quote

Ramkumar,

Sure you can . try this

Your clist MYCLIST:

Code:

 /* MYCLIST -CLIST  */   
 PROC 0 STRING('')       


Code:

/*REXX*/                                                       
LIB = "YOUR CLIST PDS"                                         
"EXEC '"LIB"(MYCLIST)' 'STRING(''I am passing this message'')' CLIST" 
..



Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group