Page 2 of 2

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 6:56 pm
by NicC
Not as much fun as doing it yourself!

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 7:12 pm
by samurai
Hi Nicc,

May i know the syntax to be used. Thanks!

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 7:24 pm
by dick scherrer
Hello,

i have tried using index as below and able to search..

May i know the syntax to be used. Thanks!
If it is working, what syntax are you looking for?

You need to post what you tried and explain where/why it does not work . . .

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 7:48 pm
by samurai
Hi Dick

I have posted which i have tried.
I want to know the syntax what Enrico was telling about SEARCH..
Thanks!

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 8:25 pm
by NicC
As Enrico stated it is SRCHFOR and it is a TSO/ISPF utility and you can run it under the control of Rexx or from 3.something - our 3.14 has been used for something else :(. You can read all about it by googling for SRCHFOR.

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 8:37 pm
by dick scherrer
Hello,

On one system under menu 3 - utilities, we have:
14 Search-For  Search data sets for strings of data          (Standard Dialog)
15 Search-ForE Search data sets for strings of data Extended (Extended Dialog)


Depending on just what you do, it may be better to run in batch rather than in the foreground . . .

Re: How to compare Two PS.

PostPosted: Tue Apr 08, 2014 9:14 pm
by Pedro
SRCHFOR is normally run as a batch job. To run it from a rexx program, you need to use the ALLOCATE command to allocate the same DD names as is used in the batch job, the use the
 Address TSO 'CALL *(someprogramname)'
command to invoke it.

Re: How to compare Two PS.

PostPosted: Wed Apr 09, 2014 10:21 am
by samurai
Thank you all for the information...