View previous topic :: View next topic
|
Author |
Message |
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
Hi,
I have a requirement to get the string from the given PDS so have used the SRCHFOR utility which gives me the result with the no of lines with the string.
Code: |
//SYSIN DD *
SRCHFOR 'STRING'
CMPCLM 1:6
/*
|
Now i have to put with some condition saying if any PS file holding the STRING anywhere should give me the whole lines of that PS file.
Can i use the IF THEN ELSE in the SYSIN DD statements ????
Thanks in advance |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
SuperC can list only up to 50 lines of the member where the string was found
(can't say if it's 50 before and 50 after the string, or 50 lines all together, but anyway it can't be the whole member).
What have you achieved until now ?
Complete information about SuperC is in this book (Appendix A). |
|
Back to top |
|
|
|