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
 
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
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

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