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
 

 

Cancel the Rexx Macro

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

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Fri May 23, 2008 2:05 pm    Post subject: Cancel the Rexx Macro
Reply with quote

Hi ,

Need your help , on how to cancel a Rexx Macro


thx
n.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri May 23, 2008 2:07 pm    Post subject: Reply to: Cancel the Rexx Macro
Reply with quote

PA1 ,
it will interrupt the command execution and might leave some garbage around
Back to top
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Fri May 23, 2008 2:16 pm    Post subject:
Reply with quote

Hi ,

Iam using a 3270 Emulator, where iam invoking a 3278 terminal. My Emulator was installed in a PC. Here i find only PF1 to PF12 and by using shift i can make another 12 keys extra to PF24. How to get the PA1 function from an ordinary keyboard, or is there any combination of keys used to acheive PA1 Function


thx
n.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri May 23, 2008 2:27 pm    Post subject:
Reply with quote

you need to look at the documentation for your emulator and map a PA1 key.
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: Fri May 23, 2008 2:28 pm    Post subject:
Reply with quote

Look at the keyboard map and find which key is mapped to PA1
Back to top
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Fri May 23, 2008 2:32 pm    Post subject:
Reply with quote

Hi,

Thx For the TIP, i can make use of that . Now here comes one more doubt, when i executed 2 or 3 macros at a time, but i need to cancel one particular macro .Is it possible . Or by prssing PA1 , will cancel only the recently executed macro


thx
n.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri May 23, 2008 2:38 pm    Post subject: Reply to: Cancel the Rexx Macro
Reply with quote

You interrupt whatever command was executing at that time..
with unpredictable side effects
that' s why in my first reply I was talking about garbage

for example You might be left with unwanted allocations
usually PA1 usage should be only for emergencies ,
after that the safest thing is to logoff and logon again
Back to top
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Fri May 23, 2008 2:50 pm    Post subject:
Reply with quote

Hi,

Please find my scenario..


1 Macro .. Executed ... and running ..
2 Macro .. Executed ... and running ..
3 Macro .. Executed ... and running ..


Now , i need to cancel my second macro which was executing .If i logoff and login again my 1 and 3 macro also will be terminated, and if i press pa1 my current macro that is 3rd will be terminated .. So is there any way to acheive , to cancel only the second macro without disturbing the execution of the 1st and 3rd macro.

thx
n.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri May 23, 2008 2:54 pm    Post subject: Reply to: Cancel the Rexx Macro
Reply with quote

looks like You did not read my post..

but as far exec edit macros are involved the execution is strictly sequential
so by the time the second macro start executing the first macro will be finished

and the third one will not have been invoked yet
Back to top
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Fri May 23, 2008 3:01 pm    Post subject:
Reply with quote

Hi ,

No .. I read your .. Post ..

So you concluded that .. no 2 macro can execute simultaneously,right ...

In the FG we can able to assume that 3 macros were executing .. but in tha actual BG .. only one macro can run .. so the second will wait for the first to complete and so on ..

please confirm this .

thx
n.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri May 23, 2008 3:04 pm    Post subject: Reply to: Cancel the Rexx Macro
Reply with quote

I am not concluding, I am telling...
and even in FG only one thing can be active at the same time
You cannot invoke anything and swap scrrens

the logoff logon was meant to be used after the PA1 to clean up the possible garbage[/b]
Back to top
View user's profile Send private message
nayak

New User


Joined: 13 Jul 2005
Posts: 37

PostPosted: Fri May 23, 2008 3:21 pm    Post subject:
Reply with quote

Hi,

Thanks for making me clear .



thx
n.
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 CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
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