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
 

 

Ispf macro's

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Niveditha

New User


Joined: 10 Mar 2009
Posts: 6
Location: chennai

PostPosted: Sat Mar 21, 2009 1:01 pm    Post subject: Ispf macro's
Reply with quote

I need to code a small rexx utility for the following requirement. I will get the PDS name and search string from the user. I need to find the count, that is the number of times the string has appeared in each member. For this i opened the dataset ISPF command view along with the macro to find the count as below.

'VIEW DATASET('FILE') MACRO(EM2)'

and the macro em2 is working fine. But the problem is after displaying the count it also opens the file in view mode. I dont want the file to be opened in view mode but just run the macro and find the count alone. Is there any that i could do this.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10255
Location: italy

PostPosted: Sat Mar 21, 2009 1:08 pm    Post subject: Reply to: Ispf macro's
Reply with quote

why reinvent the wheel ??
what is wrong in using the SRCHFOR dialog provided by ISP itself
Back to top
View user's profile Send private message
Niveditha

New User


Joined: 10 Mar 2009
Posts: 6
Location: chennai

PostPosted: Sat Mar 21, 2009 1:15 pm    Post subject:
Reply with quote

No, this is a part of big tool being developed. ISPF panels are used to get the information from the user. after processing the information at one stage, this step needs to be carried out. That's y i done want to display the datasets to the user. Mostly more than one dataset needs to opened and get the count. Please suggest me some method to do this.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Sat Mar 21, 2009 3:07 pm    Post subject:
Reply with quote

do you have an END command in your em2 macro?
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Mar 23, 2009 9:15 pm    Post subject: Reply to: Ispf macro's
Reply with quote

Call the SRCHFOR utility program from a rexx program.
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 Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm


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