Posted: Thu Jul 01, 2010 4:09 pm Post subject: Need your help to test IMS Update job without invoking dynam
Hi,
I need to execute few jobs which update the databases. Here I want to do it without invoking dynamic allocation. For that I copied the database in to my personal dataset & tried to point it from my JCL after introducing DD statement for every DBD that the associated PSB has. But the job updated the actual Database instead of my copied one. I used DISP=(MOD,KEEP,KEEP) parameter for the copied dataset.
I believe I may need to pass special parm ((DFSRRC00 Parameters) to achieve it. But I am not sure what changes I need to do in my JCL. Could you please help me to do this?
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
Posted: Thu Jul 01, 2010 4:17 pm Post subject:
asish2006,
1. Did you gen your PSB
2. If the answer is YES for Q 1 , which library has your PSBgen ?
3. Is the updated PSBGEN library a part of S00P.CHGMAND.HDBP.#002621.PRC ?
4. If you are updating the database why do you need unload of the database?
Hi Kolusu,
I did not generate any PSB. Already it is in Production. Just I want that my job should update the dataset (in which I unloaded the database) instead of Database. So that other group won't be impacted due my testing.
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
Posted: Thu Jul 01, 2010 4:26 pm Post subject:
asish2006 wrote:
Hi Kolusu,
I did not generate any PSB. Already it is in Production. Just I want that my job should update the dataset (in which I unloaded the database) instead of Database. So that other group won't be impacted due my testing.
And you expected your job to work? You NEED to gen your PSB because the program has no clue about your own copied test database.
But for that I believe I do not need to gen my own psb. I introduced DD statement for the DBD my PSB has. Is there any other chages are required? Please view the following link.
Joined: 04 Feb 2010 Posts: 8 Topics: 0 Location: Kansas City
Posted: Fri Jul 09, 2010 1:22 pm Post subject:
I'm sorry Kolusu but you don't need a new PSB to utilize a different dataset name with the DBD/DD name. The IMS EXITLIB contains the dynamic allocation macros which resolve DDname to dataset name. Using JCL allocated data base datasets (versus dynamically allocated) has always been the common way of referencing "personal" IMS data base datasets. For security reasons, most companies have JES exits in place (or other means) to prevent DD overrides. This is because too many people figured out that you could reference TEST IMS libraries (no security), while referencing PROD data base dataset names. Almost everyone uses the same DDNAMES for TEST/PROD environments. The difference being is the DYNAMIC (DFSMDA) modules which are specific to every environment.
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