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
 

 

Is /*REXX*/ is the fisrt statement in Clist program too?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Tue Mar 24, 2009 11:30 am    Post subject: Is /*REXX*/ is the fisrt statement in Clist program too?
Reply with quote

I am studying Clist. I have not got any example of Clist Program. The only eg. I have got is to execute a panel using ISPEXEC. I don't know if it will be called a Clist program or anything else?

Code:
/*REXX*/                                               
TRACE I                                                 
"ISPEXEC LIBDEF ISPPLIB DATASET ID('PRD.Y00XXX.REXX')" 
"ISPEXEC DISPLAY PANEL(PANMOD01)"                       
"ISPEXEC ADDPOP ROW(1) COLUMN(6)"                       
"ISPEXEC LIBDEF ISPPLIB"

Please tell if this would be called a REXX program or clist?

Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Mar 24, 2009 12:20 pm    Post subject:
Reply with quote

It's REXX
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Mar 24, 2009 12:27 pm    Post subject:
Reply with quote

The fine manual is full with good examples.

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Mar 24, 2009 1:07 pm    Post subject:
Reply with quote

Quote:
Please tell if this would be called a REXX program or clist?
What made you think that CLIST can be an option here?
Back to top
View user's profile Send private message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Tue Mar 24, 2009 1:30 pm    Post subject: Clist issues the ISPF command - ISPEXEC to display panels.
Reply with quote

"CLIST issues commands of the Interactive System Productivity Facility (ISPF) ISPEXEC to display full-screen panels."

This statement made me to think whether it is a Clist or Rexx.

Anuj D. wrote:
Quote:
Please tell if this would be called a REXX program or clist?
What made you think that CLIST can be an option here?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Mar 24, 2009 1:32 pm    Post subject:
Reply with quote

ISPF services (noted by ISPEXEC & ISPLINK) can be invoked from any supported language (CLIST, REXX, COBOL, NATURAL, C, PL/I etc.).

O.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2051
Location: Silicon Valley

PostPosted: Tue Mar 24, 2009 8:47 pm    Post subject: Reply to: Is /*REXX*/ is the fisrt statement in Clist progra
Reply with quote

Both rexx and clist programs can reside in the SYSPROC libraries. The system tells them apart because /* rexx */ is required in the first line for rexx programs. While it is in the form of a comment, it is a required statement.

Quote:
I am studying Clist.

It is not clear why you are studying clists... unless you have a job requirement to do so, I recommend learning rexx instead.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Mar 24, 2009 9:17 pm    Post subject:
Reply with quote

Hi Pragati,

Suggest you please go through this link and read the description under "REXX (and CLIST)" for sure.
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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