Can anyone help me to get the syntax or code to compare 2 PS.
PS 1
mmm.work.jcl
aaa
bbb
ccc
PS 2
ooo.work.jcl
XXXjjjjjaaaa
sssssssss
fffghfgdgdgfdg
sdssdfsdfsfdsfscccghfhfghfhf
Now i need to compare PS1 & PS2 and tell aaa & ccc is present.
... i need to get the output as whether the given names in PS1 is present in PS2 or not.
This happens rather often.Sorry for the confusion