Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

51 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
student_mf

New User


Joined: 15 Jun 2007
Posts: 23
Location: pune

PostPosted: Fri Jan 22, 2010 9:05 pm    Post subject: 51 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN
Reply with quote

when i tried to compile a program i got the following
51 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT RESolved with rc=12 could anyone suggest thanks
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 22, 2010 9:11 pm    Post subject:
Reply with quote

The Messages and Codes manual is not that hard to find:
Quote:
IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN PRIOR STEP WAS NOT
RESOLVED

Explanation: In a job step, the system could not find a referenced DD statement. A DD statement in the previous step or the last step of the job contains a DDNAME keyword parameter, but the DD statement referred to by the parameter is not defined in that step.

Note: The statement number that precedes the message is one of the following:

* The number of the EXEC statement following the step containing the DD statement in error

* The number of the last DD statement in the job when the DD statement in error is in the last step of the job

System Action: The system continues to process the job. The DD statement containing the DDNAME keyword parameter is treated as a DD DUMMY statement. The system issues messages about the job to the job log.

Application Programmer Response: Check the spelling of the DDNAME parameter and make sure that the DD statement referred to by the parameter is included in the same step. Resubmit the job.

System Programmer Response: Look at the messages in the job log. If the JOB statement did not specify MSGLEVEL=(1,1), specify it and run the job again. If the problem persists, search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the SYSOUT output for the job.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 22, 2010 10:08 pm    Post subject:
Reply with quote

Hello,

And there is some reason you did not post the problem jcl?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 22, 2010 11:04 pm    Post subject:
Reply with quote

Quote:
And there is some reason you did not post the problem jcl?
The poster thought it was psychic day?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jan 23, 2010 1:39 am    Post subject: Reply to: 51 IEF686I DDNAME REFERRED TO ON DDNAME KEYWORD IN
Reply with quote

And for some of us, psychotic day. . . icon_wink.gif

d
Back to top
View user's profile Send private message
student_mf

New User


Joined: 15 Jun 2007
Posts: 23
Location: pune

PostPosted: Sat Jan 23, 2010 10:00 am    Post subject:
Reply with quote

iam extremely sorry for not posting jcl

//COMPLE JOB (TEST,NT,B32),'MUR #0750',CLASS=1,
// MSGCLASS=T,NOTIFY=JYY59
//STEP1 EXEC IGYWLCL,LLIBA='BB1.TESTLIB',
// COPT='NODYNAM,XREF(FULL),DUMP,MAP,OFFSET',
// LLIB2='IMSPRA6.RESLIB',
// LLIB3='BB1.TESTLIB',
// LLIB4='SYS1.JOBLIB',
// MASTER1='BB1.LIBRARY.B'
//LIB.SYSIN DD *
-OPT
-SEL PRG0R55
-END
//LKED.USERLOAD DD DSN=BB1.TESTLIB(PRG0R55 ),DISP=SHR
/*
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jan 23, 2010 10:19 am    Post subject:
Reply with quote

Hello,

Because this executes a PROCedure with symbolic parameters and overrides, you need to post the expanded jcl (the second sysout dataset usually).

Why is there a /* at the end (after the //lked.userload statement)?
Back to top
View user's profile Send private message
student_mf

New User


Joined: 15 Jun 2007
Posts: 23
Location: pune

PostPosted: Sat Jan 23, 2010 11:39 am    Post subject:
Reply with quote

1 //MPCOMPLE JOB (TEST,NP,B20),'UR #0710',CLASS=1,
// MSGCLASS=T,NOTIFY=yr5969
2 //STEP1 EXEC IGYWLCL,LLIBA='BB1.TESLIB',
// COPT='NODYNAM,XREF(FULL),DUMP,MAP,OFFSET',
// LIB2='IMSPRA6.RESLIB',
// LIB3='LLS1.TESTLIB',
// LIB4='SYS1.JOBLIB',
// MASTER1='BB1.LIBRARY.A'
3 XXIGYWLCL PROC CLIB1='SYS1.SCEESAMP', DIST LIB FOR SYSLIB(COMP)
XX CLIB2='SYS3.DPCT.COPYLIB', USER LIBRARY FOR SYSLIB(COMPILE)
XX CLIB3='SYS3.DPCT.COPYLIB', USER LIBRARY FOR SYSLIB(COMPILE)
XX COMPDSN='SYS1.SIGYCOMP', COBOL COMPILER LIBRARY
XX COMPPGM=IGYCRCTL, COBOL FOR MVS AND VM COMPILER
XX COPT=, COMPILE OPTIONS
XX COPT2=, COMPILE OPTIONS
XX LIBOPT=, LIBRARIAN OPTIONS
XX LIBPGM=LIBARIAN, NAME OF LIBRARIAN PROGRAM
XX LLIBA=NULLFILE, USER LIBRARY FOR LLIBA DD(LINK)
XX LLIBB=NULLFILE, USER LIBRARY FOR LLIBB DD(LINK)
XX LLIB1='SYS1.SCEELKED', LE LINK-EDIT LIBRARY
XX LLIB2='SYS3.DPCT.LINKLIB', DIST LIBR FOR SYSLIB(LINK)
XX LLIB3='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB4='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB5='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB6='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB7='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB7='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB8='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LLIB9='SYS3.DPCT.LINKLIB', USER LIBRARY FOR SYSLIB(LINK)
XX LOPT=, LINK EDIT OPTIONS
XX MASTER1=NULLFILE, PRIMARY LIBRARIAN MASTER FILE
XX MASTER2=NULLFILE, SECONDARY LIBRARIAN MASTER FILE
XX OEX='LIBROEX1', LIBRARIAN OUTPUT EXIT
XX PRIQTY=60, PRIMARY SPACE ALLOCATION
XX REG=512K, REGION SIZE FOR LIBRARIAN & SETSSI
XX REGC=2048K, REGION SIZE FOR COMPILE
XX REGL=2048K, REGION SIZE FOR LINK EDIT
XX SECQTY=12, SECONDARY SPACE ALLOCATION
XX SETSSI=C, IDENTIFIES SETSSI FEATURE
XX SSILANG=C, IDENTIFIES SETSSI LANGUAGE
XX SYSOUT='*', IDENTIFIES SYSOUT PRINT CLASS
XX UNIT=DISK IDENTIFIES WORK DATASET UNIT
XX*
XX* RETRIEVE SOURCE FROM THE LIBRARIAN MASTER FILE
4 XXLIB EXEC PGM=&LIBPGM,REGION=&REG,
XX PARM='NRJS,NJTA,OEX=&OEX,&LIBOPT'
IEFC653I SUBSTITUTION JCL - PGM=LIBARIAN,REGION=512K,PARM='NRJS,NJTA
5 XXINDEX DD SYSOUT=&SYSOUT
IEFC653I SUBSTITUTION JCL - SYSOUT=*
6 XXLIST DD SYSOUT=&SYSOUT
IEFC653I SUBSTITUTION JCL - SYSOUT=*
7 XXMASTER DD DSN=&MASTER1,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=LLS1.LIBRARY.A,DISP=SHR
8 XXMASTER2 DD DSN=&MASTER2,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=NULLFILE,DISP=SHR
9 XXOSJOB DD DSN=&&OSJOB,DISP=(NEW,PASS),
XX DCB=BLKSIZE=6160,
XX SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - DSN=&&OSJOB,DISP=(NEW,PASS),DCB=BLKSIZE=
UNIT=DISK
10 XXSYSPRINT DD SYSOUT=&SYSOUT
IEFC653I SUBSTITUTION JCL - SYSOUT=*
11 XXSYSPUNCH DD DUMMY
12 XXSYSUDUMP DD SYSOUT=&SYSOUT
XX*
XX* COMPILE THE COBOL SOURCE
XX*
IEFC653I SUBSTITUTION JCL - SYSOUT=*
13 //LIB.SYSIN DD *
14 XXCOB EXEC PGM=&COMPPGM,REGION=&REGC,
XX COND=(00,NE,LIB),
XX PARM='&COPT,&COPT2'
IEFC653I SUBSTITUTION JCL - PGM=IGYCRCTL,REGION=2048K,COND=(00,NE,LIB)
OFFSET,'
15 XXSTEPLIB DD DSN=&COMPDSN,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS1.SIGYCOMP,DISP=SHR
16 XXSYSIN DD DSN=&&OSJOB,DISP=(OLD,DELETE)
17 XXSYSLIB DD DSN=&CLIB1,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS1.SCEESAMP,DISP=SHR
18 XX DD DSN=&CLIB2,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.COPYLIB,DISP=SHR
19 XX DD DSN=&CLIB3,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.COPYLIB,DISP=SHR
20 XXSYSLIN DD DSN=&&LOADSET,DISP=(MOD,PASS),
XX DCB=(LRECL=80,BLKSIZE=400,RECFM=FB),
XX SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - DSN=&&LOADSET,DISP=(MOD,PASS),DCB=(LRECL=8
12),RLSE,,ROUND),UNIT=DISK
21 XXSYSPRINT DD SYSOUT=&SYSOUT
IEFC653I SUBSTITUTION JCL - SYSOUT=*
22 XXSYSPUNCH DD DUMMY
23 XXSYSUDUMP DD SYSOUT=&SYSOUT
IEFC653I SUBSTITUTION JCL - SYSOUT=*
24 XXSYSUT1 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
25 XXSYSUT2 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
26 XXSYSUT3 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
27 XXSYSUT4 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
28 XXSYSUT5 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
29 XXSYSUT6 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
30 XXSYSUT7 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
XX*
XX* SETSSI PROGRAM
XX*
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
31 XXSETSSI EXEC PGM=XMSETSSI,PARM='&SETSSI,&SSILANG',REGION=&REG,
XX COND=((4,LT,COB))
IEFC653I SUBSTITUTION JCL - PGM=XMSETSSI,PARM='C,C',REGION=512K,COND=(
32 XXSETSSI DD DSN=&&SETSSI,DISP=(NEW,PASS),
XX DCB=(*.COB.SYSLIN),
XX SPACE=(6233,(1,1)),UNIT=&UNIT
XX*
XX* LINK EDIT THE COBOL PROGRAM
XX*
IEFC653I SUBSTITUTION JCL - DSN=&&SETSSI,DISP=(NEW,PASS),DCB=(*.COB.SY
33 XXLKED EXEC PGM=IEWL,REGION=&REGL,
XX COND=((00,NE,LIB),(4,LT,COB)),
XX PARM='LIST,LET,XREF,&LOPT'
IEFC653I SUBSTITUTION JCL - PGM=IEWL,REGION=2048K,COND=((00,NE,LIB),(4
34 XXLLIBA DD DSN=&LLIBA,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=LLS1.TESTLIB,DISP=SHR
35 XXLLIBB DD DSN=&LLIBB,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=NULLFILE,DISP=SHR
36 XXSYSLIB DD DSN=&LLIB1,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS1.SCEELKED,DISP=SHR
37 XX DD DSN=&LLIB2,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=IMSPRA6.RESLIB,DISP=SHR
38 XX DD DSN=&LLIB3,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=LLS1.TESTLIB,DISP=SHR
39 XX DD DSN=&LLIB4,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS1.JOBLIB,DISP=SHR
40 XX DD DSN=&LLIB5,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.LINKLIB,DISP=SHR
41 XX DD DSN=&LLIB6,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.LINKLIB,DISP=SHR
42 XX DD DSN=&LLIB7,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.LINKLIB,DISP=SHR
43 XX DD DSN=&LLIB8,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.LINKLIB,DISP=SHR
44 XX DD DSN=&LLIB9,DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=SYS3.DPCT.LINKLIB,DISP=SHR
45 XXSYSLIN DD DSN=&&LOADSET,DISP=(OLD,DELETE)
46 XX DD DSN=&&SETSSI,DISP=(OLD,DELETE)
47 XX DD DDNAME=SYSIN
48 XXSYSLMOD DD DDNAME=USERLOAD
49 XXSYSPRINT DD SYSOUT=&SYSOUT
IEFC653I SUBSTITUTION JCL - SYSOUT=*
IEFC653I SUBSTITUTION JCL - SYSOUT=*
50 XXSYSUT1 DD SPACE=(6233,(&PRIQTY,&SECQTY),RLSE,,ROUND),UNIT=&UNIT
XX*
IEFC653I SUBSTITUTION JCL - SPACE=(6233,(60,12),RLSE,,ROUND),UNIT=DISK
51 //LKED.USERLOAD DD DSN=BS1.TESTLIB(PRG0R55),DISP=SHR
//*
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Sat Jan 23, 2010 2:04 pm    Post subject:
Reply with quote

maybe LKED.USERLOAD
should be LKED.SYSLMOD
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jan 24, 2010 12:14 am    Post subject:
Reply with quote

Hello,

And i see no SYSIN DD for the LKED step even though there is a DDNAME=SYSIN specified. . .

Are you using the standard invocation (i.e. one that other code comiples successfully using) of the compile procedure or did you decide to experiment for some reason?

Suggest you look at the complie job of some programthat works successfully and determiine why yours is different.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts output DDname JESMSGLG job during exe... italo_pm TSO/ISPF 16 Tue Jun 21, 2016 11:13 am
No new posts how to alter a vsam using its ddname ... boyti ko JCL & VSAM 11 Thu Nov 19, 2015 10:49 am
No new posts Illegal use of keyword fetch. Token w... HABBIE DB2 2 Fri Aug 28, 2015 5:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us