How to compare Two PS.



IBM's Command List programming language & Restructured Extended Executor

Re: How to compare Two PS.

Postby NicC » Tue Apr 08, 2014 6:56 pm

Not as much fun as doing it yourself!
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: How to compare Two PS.

Postby samurai » Tue Apr 08, 2014 7:12 pm

Hi Nicc,

May i know the syntax to be used. Thanks!
samurai
 
Posts: 30
Joined: Tue Mar 18, 2014 3:29 pm
Has thanked: 6 times
Been thanked: 0 time

Re: How to compare Two PS.

Postby dick scherrer » Tue Apr 08, 2014 7:24 pm

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 . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to compare Two PS.

Postby samurai » Tue Apr 08, 2014 7:48 pm

Hi Dick

I have posted which i have tried.
I want to know the syntax what Enrico was telling about SEARCH..
Thanks!
samurai
 
Posts: 30
Joined: Tue Mar 18, 2014 3:29 pm
Has thanked: 6 times
Been thanked: 0 time

Re: How to compare Two PS.

Postby NicC » Tue Apr 08, 2014 8:25 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: How to compare Two PS.

Postby dick scherrer » Tue Apr 08, 2014 8:37 pm

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 . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: How to compare Two PS.

Postby Pedro » Tue Apr 08, 2014 9:14 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: How to compare Two PS.

Postby samurai » Wed Apr 09, 2014 10:21 am

Thank you all for the information...
samurai
 
Posts: 30
Joined: Tue Mar 18, 2014 3:29 pm
Has thanked: 6 times
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post