IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cancel the Rexx Macro


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 23, 2008 2:07 pm
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
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
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: 8797
Location: Welsh Wales

PostPosted: Fri May 23, 2008 2:28 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 23, 2008 2:38 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 23, 2008 2:54 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 23, 2008 3:04 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top