View previous topic :: View next topic
|
Author |
Message |
sow6
New User
Joined: 04 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
Hii
I want to compare two elements within the same row and see whether they match.I have added a table row containg the statistics of two different elements from a dataset in a single row.The processing should start if the elements match.Is there any way to do that without creating intermediate datasets using our normal comparision methods.Is there any solution for that using ISPF services like TBSCAN? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You posted to the right forum,
but still You did not make Your question more clear !
regards
e.s. |
|
Back to top |
|
|
sow6
New User
Joined: 04 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
I have used the LMMLIST command to get the elements of two PDS members and the versions of each of them.I.I want to check whther the version of the element in one PDS matches with the one in the other PDS.
I have used ISPF table to store the version statistics of each of these members such that a single row will contain the elements and versions from two different PDS.Now i want to check whether these elements are the same to check their versions.What ISPF service can be used for this?? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I would not rely on the ispf stats because they can be reset at any time,
Anyway, unless there is some additional constraint,
there is no need to store the stats in an intermediate dataset/table
You can process in parallel both pds and compare the stats on the fly,
but, as I already said, beware of ISPF/stats
regards
e.s |
|
Back to top |
|
|
sow6
New User
Joined: 04 Jul 2007 Posts: 8 Location: chennai
|
|
|
|
Can u please eleborate me on what you mean by processing in parallel??Manual comparision??This is actually a tool prepared to do version check in PDS's containing large number of elements and will involve more overhead if done so.Or is their any other technique?? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
There is nothing to elaborate...
get the ispf stats for the "member" in the first pds,
save ZLVERS and ZLMOD
get the ispf stats for the "member" in the second pds,
save ZLVERS and ZLMOD
if ( zlvers1 = zlvers2 ) & ( zlmod1 = zlmod2 ) then do
......
end
still I stand by the first advice ...
" do not rely on ISPF statistics for version control "
regards
e.s. |
|
Back to top |
|
|
|