Quantcast
Viewing all articles
Browse latest Browse all 8500

IMS DB/DC :: RE: IMS DB-How to update a record (a single field value) via JCL

Author: Gary Jacek
Posted: Thu Mar 16, 2017 5:21 am (GMT 5.5)

Excellent pointer Enrico.

Nic...our friend gthmrj should also be aware that if the field to be replaced is a key field, and a GHU/DLET then ISRT/DATA are used, any segnments in the tree underneath the original segment will be lost. No doubt you already know this. Image may be NSFW.
Clik here to view.
icon_biggrin.gif


A PSBMAP of PSB DBADDLT0 would be helpful to visualize where in the database this segment lives, what child segments are under it, and what fields are key fields.

A DBDMAP of the database would be even better, since the PSBMAP may not present a schema that shows all possible child segments that might be discarded by a DLET of the parent segment.

Finally, that last entry in the DFSRRC00 parm list ... "PRD1" is very disturbing, since this is a BMP job. Any first timer using the DLI test program should not be running it against production data until their job is proven in a test region.


Viewing all articles
Browse latest Browse all 8500

Trending Articles