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
 
Inbuilt function to make a BEEP sound through a REXX program

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

New User


Joined: 10 Oct 2007
Posts: 23
Location: mumbai

PostPosted: Wed May 21, 2008 3:29 pm    Post subject: Inbuilt function to make a BEEP sound through a REXX program
Reply with quote

Hi all,

Can anyone please tell me if there is any inbuilt function to make a BEEP sound through a REXX program.

Thanks in advance....

~ Snehil
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Wed May 21, 2008 3:30 pm    Post subject: Reply to: Beep in REXX
Reply with quote

what environment ??
Back to top
View user's profile Send private message
isnehil
Warnings : 1

New User


Joined: 10 Oct 2007
Posts: 23
Location: mumbai

PostPosted: Wed May 21, 2008 3:44 pm    Post subject:
Reply with quote

Hi enrico,

thanx for your reply. My program is in MSYS (test env).. MVS batch

Could you please shed some light on the beep function in REXX please.
I searched in the forum, but couldn't find a satisfactory answer.

Thanks,

~ Snehil
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Wed May 21, 2008 3:47 pm    Post subject: Reply to: Beep in REXX
Reply with quote

that' s why I asked about the environment

In a ISPF dialogs You can display messages sounding the alarm ,
I am afraid that in plain rexx it is not possible
Back to top
View user's profile Send private message
isnehil
Warnings : 1

New User


Joined: 10 Oct 2007
Posts: 23
Location: mumbai

PostPosted: Wed May 21, 2008 4:11 pm    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Wed May 21, 2008 11:22 pm    Post subject: Reply to: Inbuilt function to make a BEEP sound through a RE
Reply with quote

The 3270 supports it. ISPF can do it. Should be doable from rexx!

I googled and found information about 3270 Data Stream Programming. One page had an assembler example. I think it is just a matter of getting a particular string of characters to the 3270 and it will try to do it.

I converted the assembler example to a simple rexx program which writes to the screen and also sounds the bell.
Code:

/*rexx */                               
Say ,                                   
'C7114BF0'x || '1DF0'x || '2841F2'x ||, 
'2842F6'x || 'HELLO, WORLD!' || '1DF0'x 


I know this example is awkward for what was asked, but I figure this may help a little and someone else can take it a step farther.

Actually, it seemed like isnehil wanted to beep from MVS batch, but that is not possible at all.
Back to top
View user's profile Send private message
isnehil
Warnings : 1

New User


Joined: 10 Oct 2007
Posts: 23
Location: mumbai

PostPosted: Thu May 22, 2008 10:08 am    Post subject:
Reply with quote

Thanks for your reply Pedro....

However, can you please tell me how to BEEP from ISPF?

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

Senior Member


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

PostPosted: Thu May 22, 2008 9:36 pm    Post subject: Reply to: Inbuilt function to make a BEEP sound through a RE
Reply with quote

It can only do it in conjunction with an ISPF message

1. add a message to your ISPMLIB concatenation. The message definition should specify .ALARM=YES

2. use Address ISPEXEC "SETMSG MSG(yourmsg)" to cause message to be displayed.
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