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
 

 

Problem in EDIT MACRO

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    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

Pedro

Senior Member


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

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

Global Moderator


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

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: 2360
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts Problem with GETMAIN command amitc23 CICS 6 Thu Sep 01, 2016 1:01 pm


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