I just know the Panvalet dataset name, i would like to
search all the members of that dataset for particular
keyword through Rexx. how to achive? please suggest.
Is it possible to open panvalet member in browse mode using
Rexx?
Your help would be appreciated very much. Thanks in advance.
Answer Posted / Priti Rani
To search for a specific keyword in all members of a Panvalet dataset using Rexx, you can use the `MATCH` and `IF` commands. Here's an example code snippet:
```
RESOURCE data SET pancode TO 'path/to/your/panvalet/dataset'
READ DATA LINE INTO line
DO WHILE EOF(DATA)
IF MATCH(line, 'your-keyword') THEN PRINT line
READ DATA LINE INTO line
END
```
Note that this example assumes you have the Rexx compiler installed and the dataset is in a supported format. Adjust the code accordingly based on your specific requirements.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category