Syntax

1 DSC
2.0!  INPUT=DDIN
2.0?
2.0 INPUT=ddname
2.0 DSNIN=
2.0.1 dsname
2.0.1.1? VOLSERIN=volser
2.0.1 MQ:manager:queuename
2.0.1 rt:applid:rname
2.1.0? MEMSTART=startstring
2.1.1? MEMEND=endstring
2.1 MEMBER=member1
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? CPYMBR=(
6.1+ ,
6.1 from_mem
6.1.1? (to_mem)
6.1.2 )
7? BINRECIN=binrecin-len
8!  USEIOXIN=NO
8?
8 USEIOXIN=YES
8.1!  IOXIN=sysexit
8.1?
8.1 IOXIN=ioxname
9!  EXCLUSIVE=NO
9?
9 EXCLUSIVE=YES
10!  DIRINTEGR=NO
10?
10 DIRINTEGR=YES
11!  INCLUDEMD=NO
11?
11 INCLUDEMD=YES
12!  JCL=NO
12?
12 JCL=YES
13!  OUTPUT=DDOUT
13?
13 OUTPUT=ddname
13 DSNOUT=
13.1 dsname
13.1.1? (member2)
13.1.2? VOLSEROUT=volser
13.1 MQ:manager:queuename
13.1 rt:applid:rname
14? BINRECOUT=binrecout-len
15!  USEIOXOUT=NO
15?
15 USEIOXOUT=YES
15.1!  IOXOUT=sysexit
15.1?
15.1 IOXOUT=ioxname
16? MEMOUT=mask
17!  MQOPEN=BROWSE
17?
17 MQOPEN=SHARE
18!  STATS=ON
18?
18 STATS=OFF
18 STATS=FORCE
19!  DISP=MOD
19?
19 DISP=OLD
20!  POSITION=0
20?
20 POSITION=skip
20 KEY=key (1) 
21!  SMPLINCL=0
21?
21 SMPLINCL=sample_include
22!  SMPLSKIP=0
22?
22 SMPLSKIP=sample_skip
23!  NLRECS=ALL
23?
23 NLRECS=nlrecs
24!  CORRESP=NO
24?
24 CORRESP=YES
25!  REPLACE=NO
25?
25 REPLACE=YES
26!  IGNLEN=NO
26?
26 IGNLEN=YES
27!  RECCOUNTS=NO
27?
27 RECCOUNTS=YES
28!  PACK=ASIS
28?
28 PACK=
28.1 PACK
28.1 UNPACK
28.1 NONE
28.1 SKIP
29? PROC=proc
29.1? 
29.1 MEMPROC=
29.1.1 PROCESS
29.1.1 DROP
30!  INRDW=NO
30?
30 INRDW=YES
31!  OUTRDW=NO
31?
31 OUTRDW=YES
32? %Template options
33? %External format options

Template options

1 %Input template options
2? %Output template options
3? %Copybook processing options

Input template options

1!  TINPUT=TDDIN
1?
1 TINPUT=ddname
1.1? TINMEM=member
1 TCIN=tcin(member)
2? OFFSETIN=(
2.1 value
2.1.1? ,ALL
2.1.0? value,ALL,
2.1.1+ 
2.1.1 value,fieldname
2.1.2 )

Output template options

1!  TOUTPUT=TDDOUT
1?
1 TOUTPUT=ddname
1.1? TOUTMEM=member
1 TCOUT=tcout(member)
2? OFFSETOUT=(
2.1 value
2.1.1? ,ALL
2.1.0? value,ALL,
2.1.1+ 
2.1.1 value,fieldname
2.1.2 )

Copybook processing options

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!  MIXED=NO
4?
4 MIXED=YES
5? 
5+ 
5 RFROMn=operand1  RTOn=operand2
6 (2) 

7!  CBLMAXRC=4
7?
7 CBLMAXRC=num
8? 
8 CBLLIBS=(
8.1+ 
8.1 dsname
8.2 )
9? 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

External format options

1? FORMAT=XML
2!  NPRTCHAR='.'
2?
2 NPRTCHAR=
2.1 ASIS
2.1 HEX
2.1 replacing-character-1
2.1 NESTHEX
2.1 SKIP
3!  SPECCHAR='_'
3?
3 SPECCHAR=
3.1 ESCAPE
3.1 CDATA
3.1 HEX
3.1 replacing-character-2
3.1 NESTHEX
4!  INVDATA='*'
4?
4 INVDATA=
4.1 HEX
4.1 replacing-character-3
4.1 SKIP
5!  INDENT=1
5?
5 INDENT=indent-step
6!  FILLERS=NO
6?
6 FILLERS=YES
7!  REDEFINES=NO
7?
7 REDEFINES=YES
8!  UNICODE=NO
8?
8 UNICODE=YES
9!  LINESPLIT=NO
9?
9 LINESPLIT=YES