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