This time I'm trying to resolve an error regarding the message "19 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RESOLVED" and some ensuing notes that later steps couldn't be executed.
Looked around on the net, looked in manuals, screwed up my sleeping pattern and have a deadline to worry about.
Job control language for the purpose of running assembly code on a mainframe server can be tricky to understand and figure out. Who knew?
//C432110A JOB (ASSY),CLASS=A,MSGCLASS=A,
// NOTIFY=&SYSUID,MSGLEVEL=(1,1)
//**************//
//CLG EXEC PROC=ASMACLG
//C.SYSIN DD DSN=C432110.ASM(LAB03),DISP=SHR
//C.SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
// DD DSN=C432110.MACLIB,DISP=SHR
// DD DSN=SYS1.AMODGEN,DISP=SHR
//G.INPUT DD DSN=C432110.ASM(LAB03),DISP=SHR
//G.OUTPUT DD DSN=C432110.ASM(COPY),DISP=SHR
// NOTIFY=&SYSUID,MSGLEVEL=(1,1)
//**************//
//CLG EXEC PROC=ASMACLG
//C.SYSIN DD DSN=C432110.ASM(LAB03),DISP=SHR
//C.SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
// DD DSN=C432110.MACLIB,DISP=SHR
// DD DSN=SYS1.AMODGEN,DISP=SHR
//G.INPUT DD DSN=C432110.ASM(LAB03),DISP=SHR
//G.OUTPUT DD DSN=C432110.ASM(COPY),DISP=SHR
J E S 2 J O B L O G -- S Y S T E M S 0 W 1 -- N O D E S V S C J E S 2
21.23.28 JOB02898 ---- MONDAY, 24 SEP 2012 ----
21.23.28 JOB02898 IRR010I USERID C432110 IS ASSIGNED TO THIS JOB.
21.23.29 JOB02898 IEF677I WARNING MESSAGE(S) FOR JOB C432110A ISSUED
21.23.29 JOB02898 ICH70001I C432110 LAST ACCESS AT 19:48:32 ON MONDAY, SEPTEMBER 24, 2012
21.23.29 JOB02898 $HASP373 C432110A STARTED - INIT 1 - CLASS A - SYS S0W1
21.23.29 JOB02898 - -----TIMINGS (MINS.)------ -----PAGING COUNTS----
21.23.29 JOB02898 -STEPNAME PROCSTEP RC EXCP CONN TCB SRB CLOCK SERV WORKLOAD PAGE SWAP VIO SWAPS
21.23.29 JOB02898 -CLG C 12 220 82 .00 .00 .0 61 BATCH 0 0 0 0
21.23.29 JOB02898 -CLG L FLUSH 0 0 .00 .00 .0 BATCH 0 0 0 0
21.23.29 JOB02898 -CLG G FLUSH 0 0 .00 .00 .0 BATCH 0 0 0 0
21.23.29 JOB02898 -C432110A ENDED. NAME- TOTAL TCB CPU TIME= .00 TOTAL ELAPSED TIME= .0
21.23.30 JOB02898 $HASP395 C432110A ENDED
------ JES2 JOB STATISTICS ------
24 SEP 2012 JOB EXECUTION DATE
10 CARDS READ
370 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
25 SYSOUT SPOOL KBYTES
0.01 MINUTES EXECUTION TIME
1 //C432110A JOB (ASSY),CLASS=A,MSGCLASS=A, JOB02898
// NOTIFY=&SYSUID,MSGLEVEL=(1,1)
//**************//
IEFC653I SUBSTITUTION JCL - (ASSY),CLASS=A,MSGCLASS=A,NOTIFY=C432110,MSGLEVEL=(1,1)
2 //CLG EXEC PROC=ASMACLG
3 XXASMACLG PROC 00001000
XX* 00002000
XX*** ASMACLG 00003000
XX* 00004000
XX* THIS PROCEDURE RUNS THE HIGH LEVEL ASSEMBLER, LINK-EDITS THE 00005000
XX* NEWLY ASSEMBLED PROGRAM AND RUNS THE PROGRAM AFTER 00006000
XX* THE LINK-EDIT IS ACCOMPLISHED. 00007000
XX* 00008000
4 XXC EXEC PGM=ASMA90 00009000
5 //C.SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
X/SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR 00010000
6 // DD DSN=C432110.MACLIB,DISP=SHR
7 // DD DSN=SYS1.AMODGEN,DISP=SHR
8 XXSYSUT1 DD DSN=&&SYSUT1,SPACE=(4096,(120,120),,,ROUND),UNIT=VIO, 00011000
XX DCB=BUFNO=1 00012000
9 XXSYSPRINT DD SYSOUT=* 00013000
10 XXSYSLIN DD DSN=&&OBJ,SPACE=(3040,(40,40),,,ROUND),UNIT=VIO, 00014000
XX DISP=(MOD,PASS), 00015000
XX DCB=(BLKSIZE=3040,LRECL=80,RECFM=FBS,BUFNO=1) 00016000
11 //C.SYSIN DD DSN=C432110.ASM(LAB03),DISP=SHR
12 XXL EXEC PGM=HEWL,PARM='MAP,LET,LIST',COND=(8,LT,C) 00017000
13 XXSYSLIN DD DSN=&&OBJ,DISP=(OLD,DELETE) 00018000
14 XX DD DDNAME=SYSIN 00019000
15 XXSYSLMOD DD DISP=(,PASS),UNIT=SYSDA,SPACE=(CYL,(1,1,1)), 00020000
XX DSN=&&GOSET(GO) 00021000
16 XXSYSUT1 DD DSN=&&SYSUT1,SPACE=(1024,(120,120),,,ROUND),UNIT=VIO, 00022000
XX DCB=BUFNO=1 00023000
17 XXSYSPRINT DD SYSOUT=* 00024000
18 XXG EXEC PGM=*.L.SYSLMOD,COND=((8,LT,C),(8,LT,L)) 00025000
19 //G.INPUT DD DSN=C432110.ASM(LAB03),DISP=SHR
20 //G.OUTPUT DD DSN=C432110.ASM(COPY),DISP=SHR
STMT NO. MESSAGE
2 IEFC001I PROCEDURE ASMACLG WAS EXPANDED USING SYSTEM LIBRARY SYS1.PROCLIB
18 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RESOLVED
ICH70001I C432110 LAST ACCESS AT 19:48:32 ON MONDAY, SEPTEMBER 24, 2012
IEF236I ALLOC. FOR C432110A C CLG
IEF237I 1001 ALLOCATED TO SYSLIB
IEF237I 0D33 ALLOCATED TO
IEF237I 1007 ALLOCATED TO
IGD100I VIO ALLOCATED TO DDNAME SYSUT1 DATACLAS ( )
IEF237I JES2 ALLOCATED TO SYSPRINT
IGD100I VIO ALLOCATED TO DDNAME SYSLIN DATACLAS ( )
IEF237I 0D33 ALLOCATED TO SYSIN
IEF142I C432110A C CLG - STEP WAS EXECUTED - COND CODE 0012
IEF285I SYS1.MACLIB KEPT
IEF285I VOL SER NOS= VTMVSC.
IEF285I C432110.MACLIB KEPT
IEF285I VOL SER NOS= VPWRKB.
IEF285I SYS1.AMODGEN KEPT
IEF285I VOL SER NOS= VDMVSB.
IEF285I SYS12268.T212329.RA000.C432110A.SYSUT1.H01 DELETED
IEF285I C432110.C432110A.JOB02898.D0000101.? SYSOUT
IEF285I SYS12268.T212329.RA000.C432110A.OBJ.H01 PASSED
IEF285I C432110.ASM KEPT
IEF285I VOL SER NOS= VPWRKB.
IEF373I STEP/C /START 2012268.2123
IEF032I STEP/C /STOP 2012268.2123
CPU: 0 HR 00 MIN 00.05 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 228K SYS: 252K EXT: 32768K SYS: 11964K
IEF202I C432110A L CLG - STEP WAS NOT RUN BECAUSE OF CONDITION CODES
IEF272I C432110A L CLG - STEP WAS NOT EXECUTED.
IEF373I STEP/L /START 2012268.2123
IEF032I STEP/L /STOP 2012268.2123
CPU: 0 HR 00 MIN 00.00 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 0K SYS: 0K EXT: 0K SYS: 0K
IEF202I C432110A G CLG - STEP WAS NOT RUN BECAUSE OF CONDITION CODES
IEF272I C432110A G CLG - STEP WAS NOT EXECUTED.
IEF373I STEP/G /START 2012268.2123
IEF032I STEP/G /STOP 2012268.2123
CPU: 0 HR 00 MIN 00.00 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 0K SYS: 0K EXT: 0K SYS: 0K
IEF285I SYS12268.T212329.RA000.C432110A.OBJ.H01 DELETED
IEF375I JOB/C432110A/START 2012268.2123
IEF033I JOB/C432110A/STOP 2012268.2123
CPU: 0 HR 00 MIN 00.05 SEC SRB: 0 HR 00 MIN 00.00 SEC
High Level Assembler Option Summary (PTF UK81558) Page 1
HLASM R6.0 2012/09/24 21.23
No Overriding ASMAOPT Parameters
No Overriding Parameters
No Process Statements
Options for this Assembly
NOADATA
ALIGN
NOASA
BATCH
CODEPAGE(047C)
NOCOMPAT
NODBCS
NODECK
DXREF
ESD
NOEXIT
FLAG(0,ALIGN,CONT,EXLITW,NOIMPLEN,NOPAGE0,PUSH,RECORD,NOSUBSTR,USING0)
NOFOLD
NOGOFF
NOINFO
LANGUAGE(EN)
NOLIBMAC
LINECOUNT(60)
LIST(121)
MACHINE(,NOLIST)
MXREF(SOURCE)
OBJECT
OPTABLE(UNI,NOLIST)
NOPCONTROL
NOPESTOP
NOPROFILE
NORA2
NORENT
RLD
RXREF
SECTALGN(8)
SIZE(MAX)
NOSUPRWARN
SYSPARM()
NOTERM
NOTEST
THREAD
NOTRANSLATE
TYPECHECK(MAGNITUDE,REGISTER)
USING(NOLIMIT,MAP,WARN(15))
NOWORKFILE
XREF(SHORT,UNREFS)
No Overriding DD Names
External Symbol Dictionary Page 2
Symbol Type Id Address Length Owner Id Flags Alias-of HLASM R6.0 2012/09/24 21.23
COPY SD 00000001 00000000 00000226 00
Page 3
Active Usings: None
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
1 COPY SETUP
000000 00000 00226 3+COPY CSECT 01-SETUP
5+* SAVE REGISTERS
6+ SAVE (14,12),,COPY-09/24/12-21.23 01-SETUP
000000 47F0 F018 00018 9+ B 24(0,15) BRANCH AROUND ID 02-SAVE
000004 13 10+ DC AL1(19) LENGTH OF IDENTIFIER 02-SAVE
000005 C3D6D7E860F0F961 11+ DC CL8'COPY-09/' IDENTIFIER 02-SAVE
00000D F2F461F1F260F2F1 12+ DC CL8'24/12-21' IDENTIFIER 02-SAVE
000015 4BF2F3 13+ DC CL3'.23' IDENTIFIER 02-SAVE
000018 90EC D00C 0000C 14+ STM 14,12,12(13) SAVE REGISTERS 02-SAVE
16+* ESTABLISH ADDRESSABILITY FOR PROGRAM
00001C 18CF 17+ LR 12,15 ESTABLISH FIRST BASE REGISTER 01-SETUP
R:C 00000 18+ USING COPY,12 01-SETUP
20+* ESTABLISH NEW SAVE AREA AND POINT 13 TO IT
21+ GETMAIN R,LV=72 01-SETUP
00001E 4100 0048 00048 24+ LA 0,72(0,0) LOAD LENGTH 02-GETMA
000022 4510 C026 00026 25+ BAL 1,*+4 INDICATE GETMAIN @Z30EN9G 02-GETMA
000026 0A0A 26+ SVC 10 ISSUE GETMAIN SVC 02-GETMA
000028 5010 D008 00008 27+ ST 1,8(,13) CHAIN NEW AND OLD 01-SETUP
00002C 50D0 1004 00004 28+ ST 13,4(,1) SAVE AREAS TOGETHER 01-SETUP
000030 9801 D014 00014 29+ LM 0,1,20(13) RESTORE REGISTERS 0 AND 1 01-SETUP
000034 58D0 D008 00008 30+ L 13,8(,13) LOAD ADDRESS OF NEW SAVE AREA 01-SETUP
00000 32+R0 EQU 0 01-SETUP
00001 33+R1 EQU 1 01-SETUP
00002 34+R2 EQU 2 01-SETUP
00003 35+R3 EQU 3 01-SETUP
00004 36+R4 EQU 4 01-SETUP
00005 37+R5 EQU 5 01-SETUP
00006 38+R6 EQU 6 01-SETUP
00007 39+R7 EQU 7 01-SETUP
00008 40+R8 EQU 8 01-SETUP
00009 41+R9 EQU 9 01-SETUP
0000A 42+R10 EQU 10 01-SETUP
0000B 43+R11 EQU 11 01-SETUP
0000C 44+R12 EQU 12 01-SETUP
0000D 45+R13 EQU 13 01-SETUP
0000E 46+R14 EQU 14 01-SETUP
0000F 47+R15 EQU 15 01-SETUP
00001 48+BO EQU 1 01-SETUP
00002 49+BP EQU 2 01-SETUP
00002 50+BH EQU 2 01-SETUP
00004 51+BL EQU 4 01-SETUP
00004 52+BM EQU 4 01-SETUP
Page 4
Active Usings: COPY,R12
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
00007 53+BNE EQU 7 01-SETUP
00007 54+BNZ EQU 7 01-SETUP
00008 55+BE EQU 8 01-SETUP
00008 56+BZ EQU 8 01-SETUP
0000B 57+BNL EQU 11 01-SETUP
0000B 58+BNM EQU 11 01-SETUP
0000D 59+BNH EQU 13 01-SETUP
0000D 60+BNP EQU 13 01-SETUP
0000E 61+BNO EQU 14 01-SETUP
PROGRAM 4 80/80 LISTING Page 5
Active Usings: COPY,R12
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
64 PRINT NOGEN
000038 A715 001A 0006C 65 WTO 'PROG4 COPY INFILE (ASCII) TO OUTFILE (ASCII)'
00006E 0700 74 OPEN (INFILE,(SYSIN))
** ASMA254I *** MNOTE *** 79+ 12,*** IHB002 INVALID OPTION OPERAND SPECIFIED-(SYSIN) 02-IHBER
000074 4D10 C07C 0007C 80 OPEN (OUTFILE,(OUTPUT))
87 * WTO 'Files opened successfully'
88 * ZAP NUM,=P'2'
89 * ZAP NUM2,=P'1'
90 * MVC CHAR1,=C'9'
91 *
92 *LOOP EQU *
93 * GET INFILE,IRECORD
94 ** MVC ORECORD,=CL133' '
96 ******** MVC ORECORD(80),IRECORD
97 ******** MVC ORECORD(10),=C' '
99 * MVC ORECORD+10(62),IRECORD
100 * PACK NUM,CHAR1
101 *
102 * AP NUM,NUM2
104 * UNPK CHAR1,NUM
105 * OI CHAR1,X'F0'
106 * MVC ORECORD(2),CHAR1
108 * PUT OUTFILE,ORECORD
109 * B LOOP
110 *
0007E 111 EOF EQU *
00007E 0700 112 CLOSE (INFILE,,OUTFILE)
121 * CLOSE (INFILE)
00008E 0700 122 WTO 'PROG4 ENDED OK'
0000A8 58D0 D004 00004 131 ENDIT
137+ FREEMAIN R,LV=72,A=(1) 01-ENDIT
145+ RETURN (14,12),T,RC=0 01-ENDIT
152 INFILE DCB DDNAME=SYSIN, X
DSORG=PS, X
EODAD=EOF, X
LRECL=80, X
RECFM=FB, X
0000C8 0000000000000000 MACRF=(GM)
194 *
195 OUTFILE DCB DDNAME=OUTPUT, X
LRECL=100, X
DSORG=PS, X
RECFM=FB, X
MACRF=(PM), X
000128 0000000000000000 BLKSIZE=130
237 *
000188 238 CHAR1 DS CL2
00018A 239 NUM DS PL2
00018C 240 NUM2 DS PL2
00018E 4040404040404040 241 IRECORD DC CL80' '
0001DE 4040404040404040 242 ORECORD DC CL72' '
PROGRAM 4 80/80 LISTING Page 6
Active Usings: COPY,R12
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
000000 243 END COPY
Relocation Dictionary Page 7
Pos.Id Rel.Id Address Type Action HLASM R6.0 2012/09/24 21.23
00000001 00000001 00000079 A 3 +
00000001 00000001 00000085 A 3 +
00000001 00000001 00000089 A 3 +
00000001 00000001 000000E9 A 3 +
Ordinary Symbol and Literal Cross Reference Page 8
Symbol Length Value Id R Type Asm Program Defn References HLASM R6.0 2012/09/24 21.23
COPY 1 00000000 00000001 J 3 18U 243
EOF 1 0000007E 00000001 U 111 169
IHB0007A 2 0000006C 00000001 H H 72 68B
IHB0016A 2 000000A6 00000001 H H 129 125B
INFILE 4 000000C8 00000001 F F 157 117
OUTFILE 4 00000128 00000001 F F 200 85 119
Unreferenced Symbols Defined in CSECTs Page 9
Defn Symbol HLASM R6.0 2012/09/24 21.23
55 BE
50 BH
51 BL
52 BM
53 BNE
59 BNH
57 BNL
58 BNM
61 BNO
60 BNP
54 BNZ
48 BO
49 BP
56 BZ
238 CHAR1
241 IRECORD
239 NUM
240 NUM2
242 ORECORD
32 R0
33 R1
42 R10
43 R11
44 R12
45 R13
46 R14
47 R15
34 R2
35 R3
36 R4
37 R5
38 R6
39 R7
40 R8
41 R9
Macro and Copy Code Source Summary Page 10
Con Source Volume Members HLASM R6.0 2012/09/24 21.23
L1 SYS1.MACLIB VTMVSC CLOSE DCB FREEMAIN GETMAIN IHBERMAC IHB01 OPEN
RETURN SAVE SYSSTATE WTO
L2 C432110.MACLIB VPWRKB ENDIT SETUP
Using Map Page 11
HLASM R6.0 2012/09/24 21.23
Stmt -----Location----- Action ----------------Using----------------- Reg Max Last Label and Using Text
Count Id Type Value Range Id Disp Stmt
18 0000001E 00000001 USING ORDINARY 00000000 00001000 00000001 12 0008C 115 COPY,12
General Purpose Register Cross Reference Page 12
Register References (M=modified, B=branch, U=USING, D=DROP, N=index) HLASM R6.0 2012/09/24 21.23
0(0) 14 24M 29M 140M 148M
1(1) 14 25M 27 28 29M 68M 77M 83M 115M 125M 136M 141M 141 148M
2(2) 14 148M
3(3) 14 148M
4(4) 14 148M
5(5) 14 148M
6(6) 14 148M
7(7) 14 148M
8(8) 14 148M
9(9) 14 148M
10(A) 14 148M
11(B) 14 148M
12(C) 14 17M 18U 148M
13(D) 14 27 28 29 30M 30 133M 133 136 148 149
14(E) 14 148M 151B
15(F) 9 14 17 148M 150M
Diagnostic Cross Reference and Assembler Summary Page 13
HLASM R6.0 2012/09/24 21.23
Statements Flagged
79(L1:IHBERMAC,325)
1 Statement Flagged in this Assembly 12 was Highest Severity Code
HIGH LEVEL ASSEMBLER, 5696-234, RELEASE 6.0, PTF UK81558
SYSTEM: z/OS 01.13.00 JOBNAME: C432110A STEPNAME: CLG PROCSTEP: C
Data Sets Allocated for this Assembly
Con DDname Data Set Name Volume Member
P1 SYSIN C432110.ASM VPWRKB LAB03
L1 SYSLIB SYS1.MACLIB VTMVSC
L2 C432110.MACLIB VPWRKB
L3 SYS1.AMODGEN VDMVSB
SYSLIN SYS12268.T212329.RA000.C432110A.OBJ.H01
SYSPRINT C432110.C432110A.JOB02898.D0000101.?
32072K allocated to Buffer Pool Storage required 1036K
55 Primary Input Records Read 11917 Library Records Read 0 Work File Reads
0 ASMAOPT Records Read 288 Primary Print Records Written 0 Work File Writes
13 Object Records Written 0 ADATA Records Written
Assembly Start Time: 21.23.29 Stop Time: 21.23.29 Processor Time: 00.00.00.0366
Return Code 012
21.23.28 JOB02898 ---- MONDAY, 24 SEP 2012 ----
21.23.28 JOB02898 IRR010I USERID C432110 IS ASSIGNED TO THIS JOB.
21.23.29 JOB02898 IEF677I WARNING MESSAGE(S) FOR JOB C432110A ISSUED
21.23.29 JOB02898 ICH70001I C432110 LAST ACCESS AT 19:48:32 ON MONDAY, SEPTEMBER 24, 2012
21.23.29 JOB02898 $HASP373 C432110A STARTED - INIT 1 - CLASS A - SYS S0W1
21.23.29 JOB02898 - -----TIMINGS (MINS.)------ -----PAGING COUNTS----
21.23.29 JOB02898 -STEPNAME PROCSTEP RC EXCP CONN TCB SRB CLOCK SERV WORKLOAD PAGE SWAP VIO SWAPS
21.23.29 JOB02898 -CLG C 12 220 82 .00 .00 .0 61 BATCH 0 0 0 0
21.23.29 JOB02898 -CLG L FLUSH 0 0 .00 .00 .0 BATCH 0 0 0 0
21.23.29 JOB02898 -CLG G FLUSH 0 0 .00 .00 .0 BATCH 0 0 0 0
21.23.29 JOB02898 -C432110A ENDED. NAME- TOTAL TCB CPU TIME= .00 TOTAL ELAPSED TIME= .0
21.23.30 JOB02898 $HASP395 C432110A ENDED
------ JES2 JOB STATISTICS ------
24 SEP 2012 JOB EXECUTION DATE
10 CARDS READ
370 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
25 SYSOUT SPOOL KBYTES
0.01 MINUTES EXECUTION TIME
1 //C432110A JOB (ASSY),CLASS=A,MSGCLASS=A, JOB02898
// NOTIFY=&SYSUID,MSGLEVEL=(1,1)
//**************//
IEFC653I SUBSTITUTION JCL - (ASSY),CLASS=A,MSGCLASS=A,NOTIFY=C432110,MSGLEVEL=(1,1)
2 //CLG EXEC PROC=ASMACLG
3 XXASMACLG PROC 00001000
XX* 00002000
XX*** ASMACLG 00003000
XX* 00004000
XX* THIS PROCEDURE RUNS THE HIGH LEVEL ASSEMBLER, LINK-EDITS THE 00005000
XX* NEWLY ASSEMBLED PROGRAM AND RUNS THE PROGRAM AFTER 00006000
XX* THE LINK-EDIT IS ACCOMPLISHED. 00007000
XX* 00008000
4 XXC EXEC PGM=ASMA90 00009000
5 //C.SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR
X/SYSLIB DD DSN=SYS1.MACLIB,DISP=SHR 00010000
6 // DD DSN=C432110.MACLIB,DISP=SHR
7 // DD DSN=SYS1.AMODGEN,DISP=SHR
8 XXSYSUT1 DD DSN=&&SYSUT1,SPACE=(4096,(120,120),,,ROUND),UNIT=VIO, 00011000
XX DCB=BUFNO=1 00012000
9 XXSYSPRINT DD SYSOUT=* 00013000
10 XXSYSLIN DD DSN=&&OBJ,SPACE=(3040,(40,40),,,ROUND),UNIT=VIO, 00014000
XX DISP=(MOD,PASS), 00015000
XX DCB=(BLKSIZE=3040,LRECL=80,RECFM=FBS,BUFNO=1) 00016000
11 //C.SYSIN DD DSN=C432110.ASM(LAB03),DISP=SHR
12 XXL EXEC PGM=HEWL,PARM='MAP,LET,LIST',COND=(8,LT,C) 00017000
13 XXSYSLIN DD DSN=&&OBJ,DISP=(OLD,DELETE) 00018000
14 XX DD DDNAME=SYSIN 00019000
15 XXSYSLMOD DD DISP=(,PASS),UNIT=SYSDA,SPACE=(CYL,(1,1,1)), 00020000
XX DSN=&&GOSET(GO) 00021000
16 XXSYSUT1 DD DSN=&&SYSUT1,SPACE=(1024,(120,120),,,ROUND),UNIT=VIO, 00022000
XX DCB=BUFNO=1 00023000
17 XXSYSPRINT DD SYSOUT=* 00024000
18 XXG EXEC PGM=*.L.SYSLMOD,COND=((8,LT,C),(8,LT,L)) 00025000
19 //G.INPUT DD DSN=C432110.ASM(LAB03),DISP=SHR
20 //G.OUTPUT DD DSN=C432110.ASM(COPY),DISP=SHR
STMT NO. MESSAGE
2 IEFC001I PROCEDURE ASMACLG WAS EXPANDED USING SYSTEM LIBRARY SYS1.PROCLIB
18 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RESOLVED
ICH70001I C432110 LAST ACCESS AT 19:48:32 ON MONDAY, SEPTEMBER 24, 2012
IEF236I ALLOC. FOR C432110A C CLG
IEF237I 1001 ALLOCATED TO SYSLIB
IEF237I 0D33 ALLOCATED TO
IEF237I 1007 ALLOCATED TO
IGD100I VIO ALLOCATED TO DDNAME SYSUT1 DATACLAS ( )
IEF237I JES2 ALLOCATED TO SYSPRINT
IGD100I VIO ALLOCATED TO DDNAME SYSLIN DATACLAS ( )
IEF237I 0D33 ALLOCATED TO SYSIN
IEF142I C432110A C CLG - STEP WAS EXECUTED - COND CODE 0012
IEF285I SYS1.MACLIB KEPT
IEF285I VOL SER NOS= VTMVSC.
IEF285I C432110.MACLIB KEPT
IEF285I VOL SER NOS= VPWRKB.
IEF285I SYS1.AMODGEN KEPT
IEF285I VOL SER NOS= VDMVSB.
IEF285I SYS12268.T212329.RA000.C432110A.SYSUT1.H01 DELETED
IEF285I C432110.C432110A.JOB02898.D0000101.? SYSOUT
IEF285I SYS12268.T212329.RA000.C432110A.OBJ.H01 PASSED
IEF285I C432110.ASM KEPT
IEF285I VOL SER NOS= VPWRKB.
IEF373I STEP/C /START 2012268.2123
IEF032I STEP/C /STOP 2012268.2123
CPU: 0 HR 00 MIN 00.05 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 228K SYS: 252K EXT: 32768K SYS: 11964K
IEF202I C432110A L CLG - STEP WAS NOT RUN BECAUSE OF CONDITION CODES
IEF272I C432110A L CLG - STEP WAS NOT EXECUTED.
IEF373I STEP/L /START 2012268.2123
IEF032I STEP/L /STOP 2012268.2123
CPU: 0 HR 00 MIN 00.00 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 0K SYS: 0K EXT: 0K SYS: 0K
IEF202I C432110A G CLG - STEP WAS NOT RUN BECAUSE OF CONDITION CODES
IEF272I C432110A G CLG - STEP WAS NOT EXECUTED.
IEF373I STEP/G /START 2012268.2123
IEF032I STEP/G /STOP 2012268.2123
CPU: 0 HR 00 MIN 00.00 SEC SRB: 0 HR 00 MIN 00.00 SEC
VIRT: 0K SYS: 0K EXT: 0K SYS: 0K
IEF285I SYS12268.T212329.RA000.C432110A.OBJ.H01 DELETED
IEF375I JOB/C432110A/START 2012268.2123
IEF033I JOB/C432110A/STOP 2012268.2123
CPU: 0 HR 00 MIN 00.05 SEC SRB: 0 HR 00 MIN 00.00 SEC
High Level Assembler Option Summary (PTF UK81558) Page 1
HLASM R6.0 2012/09/24 21.23
No Overriding ASMAOPT Parameters
No Overriding Parameters
No Process Statements
Options for this Assembly
NOADATA
ALIGN
NOASA
BATCH
CODEPAGE(047C)
NOCOMPAT
NODBCS
NODECK
DXREF
ESD
NOEXIT
FLAG(0,ALIGN,CONT,EXLITW,NOIMPLEN,NOPAGE0,PUSH,RECORD,NOSUBSTR,USING0)
NOFOLD
NOGOFF
NOINFO
LANGUAGE(EN)
NOLIBMAC
LINECOUNT(60)
LIST(121)
MACHINE(,NOLIST)
MXREF(SOURCE)
OBJECT
OPTABLE(UNI,NOLIST)
NOPCONTROL
NOPESTOP
NOPROFILE
NORA2
NORENT
RLD
RXREF
SECTALGN(8)
SIZE(MAX)
NOSUPRWARN
SYSPARM()
NOTERM
NOTEST
THREAD
NOTRANSLATE
TYPECHECK(MAGNITUDE,REGISTER)
USING(NOLIMIT,MAP,WARN(15))
NOWORKFILE
XREF(SHORT,UNREFS)
No Overriding DD Names
External Symbol Dictionary Page 2
Symbol Type Id Address Length Owner Id Flags Alias-of HLASM R6.0 2012/09/24 21.23
COPY SD 00000001 00000000 00000226 00
Page 3
Active Usings: None
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
1 COPY SETUP
000000 00000 00226 3+COPY CSECT 01-SETUP
5+* SAVE REGISTERS
6+ SAVE (14,12),,COPY-09/24/12-21.23 01-SETUP
000000 47F0 F018 00018 9+ B 24(0,15) BRANCH AROUND ID 02-SAVE
000004 13 10+ DC AL1(19) LENGTH OF IDENTIFIER 02-SAVE
000005 C3D6D7E860F0F961 11+ DC CL8'COPY-09/' IDENTIFIER 02-SAVE
00000D F2F461F1F260F2F1 12+ DC CL8'24/12-21' IDENTIFIER 02-SAVE
000015 4BF2F3 13+ DC CL3'.23' IDENTIFIER 02-SAVE
000018 90EC D00C 0000C 14+ STM 14,12,12(13) SAVE REGISTERS 02-SAVE
16+* ESTABLISH ADDRESSABILITY FOR PROGRAM
00001C 18CF 17+ LR 12,15 ESTABLISH FIRST BASE REGISTER 01-SETUP
R:C 00000 18+ USING COPY,12 01-SETUP
20+* ESTABLISH NEW SAVE AREA AND POINT 13 TO IT
21+ GETMAIN R,LV=72 01-SETUP
00001E 4100 0048 00048 24+ LA 0,72(0,0) LOAD LENGTH 02-GETMA
000022 4510 C026 00026 25+ BAL 1,*+4 INDICATE GETMAIN @Z30EN9G 02-GETMA
000026 0A0A 26+ SVC 10 ISSUE GETMAIN SVC 02-GETMA
000028 5010 D008 00008 27+ ST 1,8(,13) CHAIN NEW AND OLD 01-SETUP
00002C 50D0 1004 00004 28+ ST 13,4(,1) SAVE AREAS TOGETHER 01-SETUP
000030 9801 D014 00014 29+ LM 0,1,20(13) RESTORE REGISTERS 0 AND 1 01-SETUP
000034 58D0 D008 00008 30+ L 13,8(,13) LOAD ADDRESS OF NEW SAVE AREA 01-SETUP
00000 32+R0 EQU 0 01-SETUP
00001 33+R1 EQU 1 01-SETUP
00002 34+R2 EQU 2 01-SETUP
00003 35+R3 EQU 3 01-SETUP
00004 36+R4 EQU 4 01-SETUP
00005 37+R5 EQU 5 01-SETUP
00006 38+R6 EQU 6 01-SETUP
00007 39+R7 EQU 7 01-SETUP
00008 40+R8 EQU 8 01-SETUP
00009 41+R9 EQU 9 01-SETUP
0000A 42+R10 EQU 10 01-SETUP
0000B 43+R11 EQU 11 01-SETUP
0000C 44+R12 EQU 12 01-SETUP
0000D 45+R13 EQU 13 01-SETUP
0000E 46+R14 EQU 14 01-SETUP
0000F 47+R15 EQU 15 01-SETUP
00001 48+BO EQU 1 01-SETUP
00002 49+BP EQU 2 01-SETUP
00002 50+BH EQU 2 01-SETUP
00004 51+BL EQU 4 01-SETUP
00004 52+BM EQU 4 01-SETUP
Page 4
Active Usings: COPY,R12
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
00007 53+BNE EQU 7 01-SETUP
00007 54+BNZ EQU 7 01-SETUP
00008 55+BE EQU 8 01-SETUP
00008 56+BZ EQU 8 01-SETUP
0000B 57+BNL EQU 11 01-SETUP
0000B 58+BNM EQU 11 01-SETUP
0000D 59+BNH EQU 13 01-SETUP
0000D 60+BNP EQU 13 01-SETUP
0000E 61+BNO EQU 14 01-SETUP
PROGRAM 4 80/80 LISTING Page 5
Active Usings: COPY,R12
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
64 PRINT NOGEN
000038 A715 001A 0006C 65 WTO 'PROG4 COPY INFILE (ASCII) TO OUTFILE (ASCII)'
00006E 0700 74 OPEN (INFILE,(SYSIN))
** ASMA254I *** MNOTE *** 79+ 12,*** IHB002 INVALID OPTION OPERAND SPECIFIED-(SYSIN) 02-IHBER
000074 4D10 C07C 0007C 80 OPEN (OUTFILE,(OUTPUT))
87 * WTO 'Files opened successfully'
88 * ZAP NUM,=P'2'
89 * ZAP NUM2,=P'1'
90 * MVC CHAR1,=C'9'
91 *
92 *LOOP EQU *
93 * GET INFILE,IRECORD
94 ** MVC ORECORD,=CL133' '
96 ******** MVC ORECORD(80),IRECORD
97 ******** MVC ORECORD(10),=C' '
99 * MVC ORECORD+10(62),IRECORD
100 * PACK NUM,CHAR1
101 *
102 * AP NUM,NUM2
104 * UNPK CHAR1,NUM
105 * OI CHAR1,X'F0'
106 * MVC ORECORD(2),CHAR1
108 * PUT OUTFILE,ORECORD
109 * B LOOP
110 *
0007E 111 EOF EQU *
00007E 0700 112 CLOSE (INFILE,,OUTFILE)
121 * CLOSE (INFILE)
00008E 0700 122 WTO 'PROG4 ENDED OK'
0000A8 58D0 D004 00004 131 ENDIT
137+ FREEMAIN R,LV=72,A=(1) 01-ENDIT
145+ RETURN (14,12),T,RC=0 01-ENDIT
152 INFILE DCB DDNAME=SYSIN, X
DSORG=PS, X
EODAD=EOF, X
LRECL=80, X
RECFM=FB, X
0000C8 0000000000000000 MACRF=(GM)
194 *
195 OUTFILE DCB DDNAME=OUTPUT, X
LRECL=100, X
DSORG=PS, X
RECFM=FB, X
MACRF=(PM), X
000128 0000000000000000 BLKSIZE=130
237 *
000188 238 CHAR1 DS CL2
00018A 239 NUM DS PL2
00018C 240 NUM2 DS PL2
00018E 4040404040404040 241 IRECORD DC CL80' '
0001DE 4040404040404040 242 ORECORD DC CL72' '
PROGRAM 4 80/80 LISTING Page 6
Active Usings: COPY,R12
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2012/09/24 21.23
000000 243 END COPY
Relocation Dictionary Page 7
Pos.Id Rel.Id Address Type Action HLASM R6.0 2012/09/24 21.23
00000001 00000001 00000079 A 3 +
00000001 00000001 00000085 A 3 +
00000001 00000001 00000089 A 3 +
00000001 00000001 000000E9 A 3 +
Ordinary Symbol and Literal Cross Reference Page 8
Symbol Length Value Id R Type Asm Program Defn References HLASM R6.0 2012/09/24 21.23
COPY 1 00000000 00000001 J 3 18U 243
EOF 1 0000007E 00000001 U 111 169
IHB0007A 2 0000006C 00000001 H H 72 68B
IHB0016A 2 000000A6 00000001 H H 129 125B
INFILE 4 000000C8 00000001 F F 157 117
OUTFILE 4 00000128 00000001 F F 200 85 119
Unreferenced Symbols Defined in CSECTs Page 9
Defn Symbol HLASM R6.0 2012/09/24 21.23
55 BE
50 BH
51 BL
52 BM
53 BNE
59 BNH
57 BNL
58 BNM
61 BNO
60 BNP
54 BNZ
48 BO
49 BP
56 BZ
238 CHAR1
241 IRECORD
239 NUM
240 NUM2
242 ORECORD
32 R0
33 R1
42 R10
43 R11
44 R12
45 R13
46 R14
47 R15
34 R2
35 R3
36 R4
37 R5
38 R6
39 R7
40 R8
41 R9
Macro and Copy Code Source Summary Page 10
Con Source Volume Members HLASM R6.0 2012/09/24 21.23
L1 SYS1.MACLIB VTMVSC CLOSE DCB FREEMAIN GETMAIN IHBERMAC IHB01 OPEN
RETURN SAVE SYSSTATE WTO
L2 C432110.MACLIB VPWRKB ENDIT SETUP
Using Map Page 11
HLASM R6.0 2012/09/24 21.23
Stmt -----Location----- Action ----------------Using----------------- Reg Max Last Label and Using Text
Count Id Type Value Range Id Disp Stmt
18 0000001E 00000001 USING ORDINARY 00000000 00001000 00000001 12 0008C 115 COPY,12
General Purpose Register Cross Reference Page 12
Register References (M=modified, B=branch, U=USING, D=DROP, N=index) HLASM R6.0 2012/09/24 21.23
0(0) 14 24M 29M 140M 148M
1(1) 14 25M 27 28 29M 68M 77M 83M 115M 125M 136M 141M 141 148M
2(2) 14 148M
3(3) 14 148M
4(4) 14 148M
5(5) 14 148M
6(6) 14 148M
7(7) 14 148M
8(8) 14 148M
9(9) 14 148M
10(A) 14 148M
11(B) 14 148M
12(C) 14 17M 18U 148M
13(D) 14 27 28 29 30M 30 133M 133 136 148 149
14(E) 14 148M 151B
15(F) 9 14 17 148M 150M
Diagnostic Cross Reference and Assembler Summary Page 13
HLASM R6.0 2012/09/24 21.23
Statements Flagged
79(L1:IHBERMAC,325)
1 Statement Flagged in this Assembly 12 was Highest Severity Code
HIGH LEVEL ASSEMBLER, 5696-234, RELEASE 6.0, PTF UK81558
SYSTEM: z/OS 01.13.00 JOBNAME: C432110A STEPNAME: CLG PROCSTEP: C
Data Sets Allocated for this Assembly
Con DDname Data Set Name Volume Member
P1 SYSIN C432110.ASM VPWRKB LAB03
L1 SYSLIB SYS1.MACLIB VTMVSC
L2 C432110.MACLIB VPWRKB
L3 SYS1.AMODGEN VDMVSB
SYSLIN SYS12268.T212329.RA000.C432110A.OBJ.H01
SYSPRINT C432110.C432110A.JOB02898.D0000101.?
32072K allocated to Buffer Pool Storage required 1036K
55 Primary Input Records Read 11917 Library Records Read 0 Work File Reads
0 ASMAOPT Records Read 288 Primary Print Records Written 0 Work File Writes
13 Object Records Written 0 ADATA Records Written
Assembly Start Time: 21.23.29 Stop Time: 21.23.29 Processor Time: 00.00.00.0366
Return Code 012