Merging 2 JCL members
Posted: Fri Apr 04, 2008 1:18 am
I'm sure there's an easy answer to this but despite my fairly extensive mainframe knowledge, my mind's gone a blank and I can't think of a utility which will perform what I require.
Basically I have 2 very similar JCL members, the only difference between the 2 is that there are some Fileaid COPY commands in one member which are not on the other and visa-versa. What I want to do is to merge the 2 members to produce a 'combined' member. I don't think I can run a sort/merge because there's no sort fields to specify and I've also looked at IEBCOPY and Fileaid but can't see how they can be used. So if anyone can tell me the mainframe utility I can use to perform my required task then I would be grateful.
Basically I have 2 very similar JCL members, the only difference between the 2 is that there are some Fileaid COPY commands in one member which are not on the other and visa-versa. What I want to do is to merge the 2 members to produce a 'combined' member. I don't think I can run a sort/merge because there's no sort fields to specify and I've also looked at IEBCOPY and Fileaid but can't see how they can be used. So if anyone can tell me the mainframe utility I can use to perform my required task then I would be grateful.