Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Problem in EDIT MACRO

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
Balaji.helios

New User


Joined: 12 Jun 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 22, 2008 1:53 am    Post subject: Problem in EDIT MACRO
Reply with quote

I'm checking 10 members in a PDS. In each member I'm issuing a CHANGE command and I write some information to output file. After then when I issue an END command in my MACRO it's not coming out !!! icon_cry.gif For each and every member I need to press F3, to do check for the next member and so on, until all the members in the PDS are checked. Is there any way to execute without pressing F3.
Back to top
View user's profile Send private message
References
Moved: Tue Jul 22, 2008 4:10 am by superk From CLIST & REXX to TSO/ISPF
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 536
Location: work

PostPosted: Tue Jul 22, 2008 6:11 am    Post subject: Reply to: Problem in EDIT MACRO
Reply with quote

Can you show your macro? (if it is longer than a dozen or so lines, please abbreviate the macro). END should cause to leave editor.
Back to top
View user's profile Send private message
Balaji.helios

New User


Joined: 12 Jun 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 22, 2008 11:20 am    Post subject: Reply to: Problem in EDIT MACRO
Reply with quote

Hi...please see my simple macro

i tried it with simple change command.

I DONT WANT TO SAVE THE CHANGES

ADDRESS ISREDIT
'ISREDIT MACRO'
'ISREDIT CHANGE ALL "&" ""'
'ISREDIT 'END'

Thank you in advance
Back to top
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1639
Location: germany

PostPosted: Tue Jul 22, 2008 11:58 am    Post subject:
Reply with quote

an END with out automatic save, requires that you perform 2 ENDs.

try using CANCEL, since you do not want to save the changes.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1959
Location: Israel

PostPosted: Tue Jul 22, 2008 12:15 pm    Post subject:
Reply with quote

Or use "SAVE" followed by "END" if you do want to save the changes.

By the way, you can always test the RC of the END command and get a clearer information regarding why the command has failed.

O.
Back to top
View user's profile Send private message
Balaji.helios

New User


Joined: 12 Jun 2007
Posts: 8
Location: chennai

PostPosted: Thu Jul 24, 2008 2:06 am    Post subject: Reply to: Problem in EDIT MACRO
Reply with quote

Thanks everybody..

I tried ISREDIT CANCEL command,And it worked perfect.Thanks a lot
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1