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
 

 

How to clear the screen in Rexx

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

New User


Joined: 14 Nov 2007
Posts: 18
Location: US

PostPosted: Tue Aug 19, 2008 9:45 am    Post subject: How to clear the screen in Rexx
Reply with quote

Hi,

Can some one tell me how to clear the screen in Rexx
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Aug 19, 2008 10:34 am    Post subject:
Reply with quote

There is no way to clear the screen using REXX only.

You can, however, code a tiny Assembler program, something like this (taken from Google Groups):
Code:
CLS      CSECT
CLS      RMODE ANY
         STLINENO LINE=1,CLEAR=YES
         BR    14
         END


O.
Back to top
View user's profile Send private message
mpawan
Warnings : 2

New User


Joined: 03 Nov 2008
Posts: 42
Location: Pune

PostPosted: Thu Feb 05, 2009 1:19 pm    Post subject:
Reply with quote

how can i call this assembler program in my rexx code
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Feb 05, 2009 1:29 pm    Post subject:
Reply with quote

There are many flavours of calling load modules from within REXX. Please refer to the fine manuals.

O.
Back to top
View user's profile Send private message
mpawan
Warnings : 2

New User


Joined: 03 Nov 2008
Posts: 42
Location: Pune

PostPosted: Thu Feb 05, 2009 1:48 pm    Post subject:
Reply with quote

is there any other method as i am not able to use the assembler program
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Feb 05, 2009 2:02 pm    Post subject:
Reply with quote

Please clarify what do you mean by "not able to use the assembler program"... As far as I know, Assembler is available in all Z/os versions...

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

New User


Joined: 09 May 2005
Posts: 37
Location: bangalore

PostPosted: Thu Feb 05, 2009 2:18 pm    Post subject: Reply to: Rexx Clear Screen
Reply with quote

Hi,

I am using the code CLRSCRN in my REXX script here. It does clear the screen before displaying any messages from the script. I don't think this code is shop specific also.

Can you please try tthe same and let us know?

Regards,
Manikant
Back to top
View user's profile Send private message
mpawan
Warnings : 2

New User


Joined: 03 Nov 2008
Posts: 42
Location: Pune

PostPosted: Thu Feb 05, 2009 2:33 pm    Post subject:
Reply with quote

CLRSCRN is working for me.

Thanks
Back to top
View user's profile Send private message
Peter Poole

New User


Joined: 07 Jan 2009
Posts: 50
Location: Scotland

PostPosted: Thu Feb 05, 2009 6:27 pm    Post subject:
Reply with quote

CLRSCRN used (many, many years ago) to be for REXX under VM only.

If it's now supported under TSO I am one happy camper!

(Makes note to su** it and see next time he gets hold of a TSO session!)

Cheers!
Back to top
View user's profile Send private message
smileseenu

New User


Joined: 27 Sep 2006
Posts: 13
Location: India

PostPosted: Fri Feb 27, 2009 11:20 am    Post subject: Reply to: Rexx Clear Screen
Reply with quote

CLRSCRN is work for me as well, Thanks guys..!!
Back to top
View user's profile Send private message
giridaran

New User


Joined: 07 Sep 2006
Posts: 1
Location: Bangalore

PostPosted: Wed Oct 14, 2009 12:46 pm    Post subject: Reply to: How to clear the screen in Rexx
Reply with quote

Try this

"ISPEXEC SELECT PGM(CLRSCRN)"

Thanks,
Giri
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
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
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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