MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
manojagrawal Beginner Joined: 25 Feb 2003 Posts: 124 Topics: 29
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Back to top
manojagrawal Beginner Joined: 25 Feb 2003 Posts: 124 Topics: 29
Posted: Tue Jun 08, 2004 3:41 pm Post subject:
Hello Kolusu,
I had checked the exact same link as I mentioned above. However I am unable to locate the problem from what is given there. Does this have to do with the system programmers? Any suggestions? _________________ Thanks & Regards,
Manoj.
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Tue Jun 08, 2004 4:13 pm Post subject:
Manoj,
Post your Load JCL.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu
Back to top
Balanim Beginner Joined: 29 Jan 2004 Posts: 21 Topics: 8
Posted: Wed Jun 09, 2004 2:40 am Post subject:
Hi Kolusu
I am also getting the same error
here is the JCL
Code: //ACHULCON JOB 'TSOUSER','UNL CON',NOTIFY=&SYSUID,
// MSGCLASS=X,
// CLASS=Q
//JOBLIB DD DSN=SYS1.DSNDB2A.SDSNLOAD,
// DISP=SHR
//*
//ST010 EXEC PGM=IKJEFT01,DYNAMNBR=20,COND=(4,LT)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DELETE 'BALA.UNLCON.SYSREC00'
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//*
//**********************************************************
//* UNLOAD table
//**********************************************************
//*
//ST020 EXEC PGM=IKJEFT01,DYNAMNBR=20,COND=(8,LT),TIME=500
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(DB2A)
RUN PROGRAM(DSNUTILB) PLAN(DSNUTILB) -
LIB('SYS1.DSNDB2A.SDSNLOAD')
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSREC00 DD DSN=BALA.UNLCON.SYSREC00,
// DISP=(,CATLG,DELETE),
// SPACE=(CYL,(350,250),RLSE)
//SYSPUNCH DD DUMMY
//SYSIN DD *
QCHMIG.QCHTSCON
//*
Thanks
Bala
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Wed Jun 09, 2004 5:25 am Post subject:
Bala,
Remove the JOBLIB statement and rerun the job. Btw you really don't need the first delete step.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu
Back to top
Balanim Beginner Joined: 29 Jan 2004 Posts: 21 Topics: 8
Posted: Wed Jun 09, 2004 6:34 am Post subject:
Hi Kolusu..
i deleted the JOBLIB but no luck...
Thanks
Bala
Back to top
manojagrawal Beginner Joined: 25 Feb 2003 Posts: 124 Topics: 29
Posted: Wed Jun 09, 2004 1:32 pm Post subject:
Hello Kolusu,
Sorry for the delay. The Load JCL is as follows:
Code: //ZZDBREST JOB ('XXXXXXX,0000,XXXX01,BINXXX'),'DATABASE RELOAD',
// MSGCLASS=H,MSGLEVEL=(1,1),COND=(4,LT),REGION=0M,
// USER=ABCDEF1,GROUP=ABCDE3,NOTIFY=ABCDEF1
//*MAIN CLASS=DD1HDB2 /***DB2 CLASS XXXXM***/
//* ---------------------------------------------------------
//RELOAD EXEC PGM=DSNUTILB,
// REGION=4096K,
// PARM='DD1H,TESTID'
//STEPLIB DD DSN=DB2.DD1H.DB2.RUNLIB.LOAD,DISP=SHR
// DD DSN=DB2.DD1H.DB2.SDSNLOAD,DISP=SHR
// DD DSN=DB2.DD1H.QMF.SDSQLOAD,DISP=SHR
//SYSUT1 DD SPACE=(23738,(128,64),RLSE,,ROUND),UNIT=SYSDA
//SORTWK01 DD SPACE=(23738,(128,64),RLSE,,ROUND),UNIT=SYSDA
//SORTWK02 DD SPACE=(23738,(128,64),RLSE,,ROUND),UNIT=SYSDA
//SORTWK03 DD SPACE=(23738,(128,64),RLSE,,ROUND),UNIT=SYSDA
//SORTWK04 DD SPACE=(23738,(128,64),RLSE,,ROUND),UNIT=SYSDA
//SORTOUT DD SPACE=(23738,(128,64),RLSE,,ROUND),UNIT=SYSDA
//SYSDISC DD SPACE=(23738,(32,16),RLSE,,ROUND),UNIT=SYSDA
//SYSERR DD SPACE=(23738,(32,16),RLSE,,ROUND),UNIT=SYSDA
//SYSMAP DD SPACE=(23738,(32,16),RLSE,,ROUND),UNIT=SYSDA
//RCBLOAD DD DSN=XYZ.MANOJ.DATABASE.MANOJ,DISP=SHR
//SYSIN DD DSN=XYZ.MANOJ.MODULES(DBLOAD1),DISP=SHR
// DD DSN=XYZ.MANOJ.MODULES(DBSTRUC1),DISP=SHR
//UTPRINT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
XYZ.MANOJ.DATABASE.MANOJ - Contains the data to be loaded
XYZ.MANOJ.MODULES(DBLOAD1)
Code: LOAD
DATA
INDDN RCBLOAD
REPLACE
LOG YES
INTO TABLE
XYZ.MANOJ.MODULES(DBSTRUC1) - Contains the structure of the DB2 table I am loading into. _________________ Thanks & Regards,
Manoj.
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Wed Jun 09, 2004 3:15 pm Post subject:
Manoj,
Did you try running the job by removing the steplib?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu
Back to top
manojagrawal Beginner Joined: 25 Feb 2003 Posts: 124 Topics: 29
Posted: Wed Jun 09, 2004 3:24 pm Post subject:
Hello Kolusu,
On removing the STEPLIB, I get the abend saying that the requested module, i.e., DSNUTILB not found.
However, On including only DSN=DB2.DD1H.DB2.SDSNLOAD in the steplib, the job ran perfectly, RC=0. Thanks a ton!!!
Now a question. Why did this happen? How would the concatenation of the other DSN's effect the run? _________________ Thanks & Regards,
Manoj.
Back to top
kolusu Site Admin Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Thu Jun 10, 2004 8:42 am Post subject:
Manoj,
Long time back , I remember reading a document that coding steplib, or Joblib for DB2 utilities will cause unpredicted results. Even though they explained the reasons in that document , I cannot recollect them as well as I cannot find that document. If I find it then I will update this topic
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum