Need the compare two versions of the same member archieve level 1 & 2.
search cancel

Need the compare two versions of the same member archieve level 1 & 2.

book

Article ID: 55059

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

Have a member on a master file that contains 5 archive levels want to compare -1 & -2 versions.

Environment

Release:
Component: C21E

Resolution

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