Syntax

1 DSM
1 DSCMP
2? %Old data set
3? %New data set
4? %Comparison options
5? %Template reporting options

Old data set

1!  DDOLD=DDOLD
1?
1 DDOLD=ddold
1 DSNOLD=
1.1 dsnold
1.1.1? VOLSEROLD=volserold
1.1 MQ:manager:queuename
1.1 rt:applid:rname
2.0? MEMSTART=startstring
2.1? MEMEND=endstring
2 MEMOLD=memold
3.0? CRESTART=crestart
3.1? CREEND=creend
3 CREATED=created
4.0? CHGSTART=chgstart
4.1? CHGEND=chgend
4 CHANGED=changed
5.0? UIDSTART=uidstart
5.1? UIDEND=uidend
5 USERID=userid
6? MEMLIST=(
6.1+ ,
6.1 comp_mem
6.2 )
7!  USEIOXOLD=NO
7?
7 USEIOXOLD=YES
7.1!  IOXOLD=sysexit
7.1?
7.1 IOXOLD=ioxname
8? BINRECOLD=binrecold-len
9? KEYOLD=keyold
10!  SKIPOLD=0
10?
10 SKIPOLD=skipold
11!  CMPOLD=ALL
11?
11 CMPOLD=cmpold
12!  IGNLEN=YES
12?
12 IGNLEN=NO

Old template processing

1!  TOLD=TDOLD
1?
1 TOLD=ddname
1.1? TOLDMEM=member
1 TCOLD=tcold(tcomem)
2? OFFSETOLD=(
2.1 value
2.1.1? ,ALL
2.1.0? value,ALL,
2.1.1+ ,
2.1.1 value,fieldname
2.1.2 )
3? 
3 FIELDOLD=(
3.1+ ,
3.1 oldfield
3.2 )
4? %Copybook processing

New data set

1.0!  DDNEW=DDNEW
1.0?
1.0 DDNEW=ddnew
1.0 DSNNEW=
1.0.1 dsnew
1.0.1.1? (memnew)
1.0.1.2? VOLSERNEW=volsernew
1.0.1 MQ:manager:queuename
1.0.1 rt:applid:rname
2!  USEIOXNEW=NO
2?
2 USEIOXNEW=YES
2.1!  IOXNEW=sysexit
2.1?
2.1 IOXNEW=ioxname
3? BINRECNEW=binrecnew-len
4? KEYNEW=keynew
5!  SKIPNEW=0
5?
5 SKIPNEW=skipnew
6!  CMPNEW=ALL
6?
6 CMPNEW=cmpnew
7? %New template processing

New template processing

1!  TNEW=TDNEW
1?
1 TNEW=ddname
1.1? TNEWMEM=member
1 TCNEW=tcnew(tcnmem)
2? OFFSETNEW=(
2.1 value
2.1.1? ,ALL
2.1.0? value,ALL,
2.1.1+ 
2.1.1 value,fieldname
2.1.2 )
3? 
3 FIELDNEW=(
3.1+ 
3.1 newfield
3.2 )
4? %Copybook processing

Copybook processing

1!  LANG=AUTO
1?
1 LANG=
1.1 COBOL
1.1 PLI
1.1 HLASM
2? 
2 %COBOL options
3? 
3 %PL/I options
4? 
4 %HLASM options

COBOL options

1!  DBCS=NO
1?
1 DBCS=YES
2!  CDPC=NO
2?
2 CDPC=YES
3!  CAE=NO
3?
3 CAE=YES
4? 
4+ 
4 RFROMn=operand1  RTOn=operand2
5 (1) 

6!  CBLMAXRC=4
6?
6 CBLMAXRC=num
7? 
7 CBLLIBS=(
7.1+ 
7.1 dsname
7.2 )
8? CBLADDOP=options

PL/I options

1!  BIN63=NO
1?
1 BIN63=YES
2!  DEC31=NO
2?
2 DEC31=YES
3!  GRAPHIC=NO
3?
3 GRAPHIC=YES
4!  UNALIGNED=NO
4?
4 UNALIGNED=YES
5!  PLIMAXRC=4
5?
5 PLIMAXRC=num
6? 
6 PLILIBS=(
6.1+ 
6.1 dsname
6.2 )
7? PLIADDOP=options

HLASM options

1!  DBCS=NO
1?
1 DBCS=YES
2!  NOALIGN=NO
2?
2 NOALIGN=YES
3!  ASMMAXRC=4
3?
3 ASMMAXRC=num
4? 
4 ASMLIBS=(
4.1+ 
4.1 dsname
4.2 )
5? ASMADDOP=options

Comparison options

1!  TYPE=RECORD
1?
1 %Formatted type options
2!  CORRESP=NO
2?
2 CORRESP=YES
3!  SYNCH=ONETOONE
3.0 SYNCH=121
3?
3.0 SYNCH=READAHEAD
3.0 SYNCH=RA
3.1!  LIMIT=100
3.1?
3.1 LIMIT=ralim
3.2!  LENGTH=1
3.2?
3.2 LENGTH=ralen
3 %Keyed synchronization options
3 %Read-ahead Keyed synchronization options
3 %Load module compare options
4!  LIST=SUMMARY
4?
4 LIST=DELTA
4 LIST=MATCHING
4 LIST=LONG
4 LIST=NONE
5? 
5 EXCLUDE=(
5.1+ ,
5.1 exclude_type
5.2 )
6!  NUMDIFF=ALL
6?
6 NUMDIFF=numdiff
7? RCDIFF=(numdiff,return_code)
8!  WIDE=NO
8?
8 WIDE=YES
9!  HEX=NO
9?
9 HEX=YES
10!  HILIGHT=NO
10?
10 HILIGHT=YES
11!  SHOWATTR=NO
11?
11 SHOWATTR=YES
12!  CHNGDFLD=NO
12?
12 CHNGDFLD=YES
12.1!  SLCTDFLD=NO
12.1?
12.1 SLCTDFLD=YES
12.2!  SUPIDFLD=NO
12.2?
12.2 SUPIDFLD=YES
13!  PACK=UNPACK
13?
13 PACK=
13.1 NONE
13.1 SKIP
14!  JUST=NO
14?
14 JUST=YES
15!  INCLUDEMD=NO
15?
15 INCLUDEMD=YES
16 %Comparison output data sets

Comparison output data sets

1!  IOUTPUT=FMINSOUT
1?
1 IOUTPUT=ddname
1.1? IOUTMEM=member
1 IOUTDSN=ioutdsn(member)
2? IBINREC=binrec_len
3!  IDISP=MOD
3?
3 IDISP=OLD
4!  DOUTPUT=FMDELOUT
4?
4 DOUTPUT=ddname
4.1? DCOUTMEM=member
4 DOUTDSN=doutdsn(member)
5? DBINREC=binrec_len
6!  DDISP=MOD
6?
6 DDISP=OLD
7!  NCOUTPUT=FMNCHOUT
7?
7 NCOUTPUT=ddname
7.1? NCOUTMEM=member
7 NCOUTDSN=coutdsn(member)
8? NCBINREC=binrec_len
9!  NCDISP=MOD
9?
9 NCDISP=OLD
10!  OCOUTPUT=FMOCHOUT
10?
10 OCOUTPUT=ddname
10.1? OCOUTMEM=member
10 OCOUTDSN=ocoutdsn(member)
11? OCBINREC=binrec_len
12!  OCDISP=MOD
12?
12 OCDISP=OLD
13!  NMOUTPUT=FMNMTOUT
13?
13 NMOUTPUT=ddname
13.1? NMOUTMEM=member
13 NMOUTDSN=nmoutdsn(member)
14? NMBINREC=binrec_len
15!  NMDISP=OLD
15?
15 NMDISP=MOD
16!  OMOUTPUT=FMOMTOUT
16?
16 OMOUTPUT=ddname
16.1? OMOUTMEM=member
16 OMOUTDSN=omoutdsn(member)
17? OMBINREC=binrec_len
18!  OMDISP=OLD
18?
18 OMDISP=OMOD

Formatted type options

1 TYPE=FORMATTED
2!  IGNORELB=NO
2?
2 IGNORELB=YES
3!  IGNORETB=NO
3?
3 IGNORETB=YES
4!  MATCHREF=NO
4?
4 MATCHREF=YES
5!  IGNORECASE=NO
5?
5 IGNORECASE=YES

Keyed synchronization options

1 SYNCH=KEYED (2) 
2? 
2 KEYTCOLD=
2.1! YES
2.1 NO
3? 
3 KEYTCNEW=
3.1! YES
3.1 NO
4? 
4 KEYFLDOLD=(
4.1+ ,
4.1 okeyfld
4.2 )
5? 
5 KEYFLDNEW=(
5.1+ ,
5.1 nkeyfld
5.2 )
6? 
6 KEYLOCOLD=(
6.1+ ,
6.1 okeyloc
6.2 )
7? 
7 KEYLOCNEW=(
7.1+ ,
7.1 nkeyloc
7.2 )
8? 
8 KEYLEN=(
8.1+ ,
8.1 keylen
8.2 )
9? 
9 KEYTYPE=(
9.1+ ,
9.1.0! CHAR
9.1.0 BINARY
9.1.0 PACKED
9.1.0 FLOAT
9.1.0 ZONED
9.2 )
10? 
10 KEYLENNEW=(
10.1+ ,
10.1 keylen
10.2 )
11? 
11 KEYTYPNEW=(
11.1+ ,
11.1.0! CHAR
11.1.0 BINARY
11.1.0 PACKED
11.1.0 FLOAT
11.1.0 ZONED
11.2 )
12!  KEYORD=(
12.1+ ,
12.1 A
12.2 )
12?
12 KEYORD=(
12.1+ ,
12.1 D
12.2 )
13!  KEYMATCH=NO
13?
13 KEYMATCH=Yes
14!  KEYDUPOK=NO
14?
14 KEYDUPOK=Yes

Read-ahead Keyed synchronization options

1 SYNCH=RAKEY
2!  LIMIT=100
2?
2 LIMIT=ralim
3!  LENGTH=1
3?
3 LENGTH=ralen
4? 
4 KEYTCOLD=
4.1! YES
4.1 NO
5? 
5 KEYTCNEW=
5.1! YES
5.1 NO
6? 
6 KEYFLDOLD=(
6.1+ ,
6.1 okeyfld
6.2 )
7? 
7 KEYFLDNEW=(
7.1+ ,
7.1 nkeyfld
7.2 )
8? 
8 KEYLOCOLD=(
8.1+ ,
8.1 okeyloc
8.2 )
9? 
9 KEYLOCNEW=(
9.1+ ,
9.1 nkeyloc
9.2 )
10? 
10 KEYLEN=(
10.1+ ,
10.1 keylen
10.2 )
11? 
11 KEYTYPE=(
11.1+ ,
11.1.0! CHAR
11.1.0 BINARY
11.1.0 PACKED
11.1.0 FLOAT
11.1.0 ZONED
11.2 )
12? 
12 KEYLENNEW=(
12.1+ ,
12.1 keylen
12.2 )
13? 
13 KEYTYPNEW=(
13.1+ ,
13.1.0! CHAR
13.1.0 BINARY
13.1.0 PACKED
13.1.0 FLOAT
13.1.0 ZONED
13.2 )
14!  KEYMATCH=NO
14?
14 KEYMATCH=Yes
15!  KEYDUPOK=NO
15?
15 KEYDUPOK=Yes

Template reporting options

1!  PBK=NONE
1?
1 PBK=LAYOUTS
1 PBK=CRITERIA
1 PBK=ALL
2!  MAP=NONE
2?
2 MAP=MAPPED
2 MAP=UNMAPPED
2 MAP=ALL
3!  ARRAY=NO
3?
3 ARRAY=YES
4!  FSTATS=NO
4?
4 FSTATS=YES
5!  HEXLOC=NO
5?
5 HEXLOC=YES
6!  HEXLEN=NO
6?
6 HEXLEN=YES

Load module compare options

1 SYNCH=LMOD
2!  CMPLVL=LMOD
2?
2 CMPLVL=CSECT
3!  DATEFORM=YYYYDDD
3?
3 DATEFORM=YYMMDD
4? LMODC=
4.1? (
4.2+ ,
4.2 SIZE
4.2 ADDRESS
4.2 LINKER
4.2 BINDER
4.2 DATE
4.2 TIME
4.2 MODE
4.2 AC
4.2 AUTH
4.2 ATTR
4.3? ) (3) 
5? CSECTC=
5.1? (
5.2+ ,
5.2 SIZE
5.2 ADDRESS
5.2 COMPILER
5.2 DATE
5.2 MODE
5.2 IDRZAP
5.2 ZAP
5.2 TEXT
5.3? ) (3)