Have a member on a master file that contains 5 archive levels want to compare -1 & -2 versions.
Solution:
Using the SAMPLEJCL below specifies the master file member -2 level number in OLD=. Specify the -1 level number in the NEW=.
//STEP1 EXEC PGM=AFOLIBR,PARM='NJTA,NRJS' //MASTER DD DSN=LIBSYS.COB.MASTER,DISP=SHR //SYSPRINT DD SYSOUT=* //OSJOB DD DUMMY //SYSIN DD * -OPT COMPARE -SEL member,OLD=-2,NEW=-1