Use your JCL. Run a step to check the existence of a, if a not found use conditional exec to delete b,c and d.
On Tue, Dec 28, 2021, 2:51 PM Paul Gilmartin < [email protected]> wrote: > On Tue, 28 Dec 2021 21:10:32 +0000, PINION, RICHARD W. wrote: > > >I'm going to ask what many of you may consider a foolish question. > Please be kind in > >your criticism. Let's say I have 4 datasets, a.a, b.b, c.c, and d.d. Is > there any way to > >define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d? > What I would like > >to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted. > > > This sounds a bit like referential integrity in a data base: > < > https://www.ibm.com/docs/en/informix-servers/14.10?topic=integrity-referential > >, > not foolish but probably little help to you. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
