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
 

 

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: 10256
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: 10256
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: 2038
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: 2038
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


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