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: 2025
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm


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