IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc...
Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Problem in EDIT MACRO

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
View previous topic :: View next topic  
Author Message
Balaji.helios



Joined: 12 Jun 2007
Posts: 7
Location: chennai

Posted: Tue Jul 22, 2008 1:53 am    Post subject: Problem in EDIT MACRO  

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 !!! :cry: 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  
Pedro



Joined: 01 Sep 2006
Posts: 322
Location: work

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

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  
Balaji.helios



Joined: 12 Jun 2007
Posts: 7
Location: chennai

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

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  
dbzTHEdinosauer



Joined: 20 Oct 2006
Posts: 1395
Location: germany

Posted: Tue Jul 22, 2008 11:58 am    Post subject:  

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  
ofer71



Joined: 27 Dec 2005
Posts: 1867
Location: Israel

Posted: Tue Jul 22, 2008 12:15 pm    Post subject:  

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  
Balaji.helios



Joined: 12 Jun 2007
Posts: 7
Location: chennai

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

Thanks everybody..

I tried ISREDIT CANCEL command,And it worked perfect.Thanks a lot
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
Related Links