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: 2038
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: 6967
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 RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


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