MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Executing ISPF Macros in browse mode

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Venkata Ramana Reddy
Beginner


Joined: 02 Dec 2002
Posts: 70
Topics: 19
Location: California

PostPosted: Mon Feb 03, 2003 9:00 pm    Post subject: Executing ISPF Macros in browse mode Reply with quote

Is there a way to execute ISPF Macros in browse mode?.
If so please post a sample code.
_________________
Venkataramana
-- Good judgement comes from experience, and often experience comes from bad judgement.


Last edited by Venkata Ramana Reddy on Wed Feb 05, 2003 1:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Feb 03, 2003 10:22 pm    Post subject: Reply with quote

The short answer is no. There is no browse macro facility. The long answer is 'sort of'. You cna use View instead of browse (see the check boxes on the option 1 panel).
Back to top
View user's profile Send private message Visit poster's website
Venkata Ramana Reddy
Beginner


Joined: 02 Dec 2002
Posts: 70
Topics: 19
Location: California

PostPosted: Tue Feb 04, 2003 12:43 pm    Post subject: Reply with quote

semigeezer,
Here is the Rexx Code,I have written to get the No of records in Dataset.I know this works fine if I open the dataset in View or Edit mode.I wanted to try this Macro,by opening the Dataset in Browse mode

Any suggestions ??

Code:
/* Rexx Macro to get no of records in Dataset    */                             
ADDRESS ISREDIT                           
'MACRO NOPROCESS'                         
IF RC > 0 THEN
  EXIT 12                               
ELSE
  DO                                 
   "ISREDIT (cnt) = LINENUM .ZLAST"       
   ZERRSM=''                             
   ZERRALRM='YES'                         
   ZERRHM='*'                             
   zerrlm = 'No of records: ' cnt         
   ADDRESS ISPEXEC 'SETMSG MSG(ISRZ002)' 
 END                                       
EXIT 0

_________________
Venkataramana
-- Good judgement comes from experience, and often experience comes from bad judgement.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group