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

Problem in EDIT MACRO


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Balaji.helios

New User


Joined: 12 Jun 2007
Posts: 8
Location: chennai

PostPosted: Tue Jul 22, 2008 1:53 am
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
Pedro

Global Moderator


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

PostPosted: Tue Jul 22, 2008 6:11 am
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
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

Global Moderator


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

PostPosted: Tue Jul 22, 2008 11:58 am
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: 2358
Location: Israel

PostPosted: Tue Jul 22, 2008 12:15 pm
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
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
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts SDUMPX macro fails to dump requested ... PL/I & Assembler 6
No new posts Access to macro definitions PL/I & Assembler 4
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:


Back to Top