|
View previous topic :: View next topic
|
| Author |
Message |
narasimha.g
New User
Joined: 10 Sep 2009 Posts: 68 Location: Liverpool
|
|
|
|
Hi All,
I am trying to load an IMS database using DFSURGL0 utility with the help of the following jcl
| Code: |
//PREREORG EXEC PGM=DFSRRC00,PARM='ULU,DFSURPR0',REGION=2048K
//STEPLIB DD DISP=SHR,DSN=IMSVSL.RESLIB
//IMS DD DSN=TCZZ.£SCIMSL.DBDLIB,DISP=SHR
//DFSURCDS DD DSN=&&URCDS,DISP=(,CATLG),
// DCB=(BLKSIZE=1600),SPACE=(TRK,(1,1)),UNIT=SYSDA
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=120
//SYSIN DD *
OPTIONS=(NOPUNCH,STAT,SUMM)
DBR=ZDP19SDB
/*
//LOAD19 EXEC PGM=DFSRRC00,PARM='ULU,DFSURGL0,ZDP19SDB,,,,,,,,,,,N',
// REGION=2048K
//STEPLIB DD DSN=IMSVSL.SDFSRESL,DISP=SHR
//DFSRESLB DD DSN=IMSVSL.SDFSRESL,DISP=SHR
//IMS DD DSN=TCZZ.£SCIMSL.DBDLIB,DISP=SHR
//DFSPRINT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//DFSUINPT DD DISP=SHR,DSN=TLSZ.£S.ZDP19SDB.ZDP19SD1.DATAFIL2
//DFSURWF1 DD DSN=&&URWF1,DISP=(NEW,PASS,DELETE),
// DCB=(RECFM=VB,LRECL=900,BLKSIZE=1008),
// SPACE=(TRK,(30,4),RLSE),UNIT=3380
//ZDP19SD1 DD DISP=SHR,DSN=TLVI.£SIDB.ZDP19SDB.ZDP19SD1
//ZDC19SD1 DD DISP=SHR,DSN=TLVI.£SIDB.ZDC19SDB.ZDC19SD1
//ZDI19SD1 DD DISP=SHR,DSN=TLVI.£SIDB.ZDI19SDB.ZDI19SD1
//DFSURCDS DD DSN=&&URCDS,DISP=(OLD,PASS)
//DFSVSAMP DD DSN=IMSVSL.PROCLIB(DFSVSM04),DISP=SHR
//*
|
where TLSZ.£S.ZDP19SDB.ZDP19SD1.DATAFIL2 is the production unload.
The job is executing with the Return code zero. But database is not getting uploaded with the given data.
The jcl output says
| Code: |
SEGMENT LEVEL STATISTICS
TOTAL SEGMENTS BY SEGMENT TYPE
SEGMENT SEGMENT
NAME LEVEL RELOADED DIFFERENCE
GSP19DCN 1 10,832
TOTAL SEGMENTS IN DATA BASE
UNLOADED RELOADED DIFFERENCE
10,832 10,832
DATABASE ZDP19SDB HAS BEEN SUCCESSFULLY RELOADED BY FUNCTION DR
FUNCTION DR HAS COMPLETED NORMALLY RC=00 |
But when I unload the data it still contains the old set of data and the new data is not loaded. Could you please let me know if im doing wrong somewhere |
|
| Back to top |
|
 |
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
| are n't you just unloading and loading the same data? |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
| Code: |
| //DFSURCDS DD DSN=&&URCDS,DISP=(,CATLG), |
Why does a temporary file specify catlg. . .
If a backup is run and that output is used to load, why would there be any difference? |
|
| Back to top |
|
 |
narasimha.g
New User
Joined: 10 Sep 2009 Posts: 68 Location: Liverpool
|
|
|
|
| aprocon wrote: |
| are n't you just unloading and loading the same data? |
Noo... test has a different data now... i hace unloaded from production and trying to load that in test now.... Am i using a wrong utility??? |
|
| Back to top |
|
 |
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
| You are using the right utility. Can i see your unload and Delete/define step? |
|
| Back to top |
|
 |
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
| alternatively, you could use repro to refresh the test database with prod data. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
the whole issue has been flawed from the beginning...
the jcl works.. YES
the statistics at the end match ... YES ( they simply tell that the input/output <record> count match )
the data is what You expected ... oops NO
did it happen to think
that maybe you reloaded the wrong <input> dataset
and it would have been wiser to check that before posting
or that maybe you are looking/using the wrong IMS subsystem
or... or...
give evidence that the input data is the <good> one and after that instead of posting here open a PMR with IBM |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|