I've never worked with IMS/DB before. Now I've got a BMC UNLOAD of an IMS-DB. I have to make out the design of the DB (segments, fields in the segment, ...)
How can I make it? I know the Unload has got Record Format 2 (FRMT2). The file is:
OCROOT 0 ? 0U1273816 U1271234 U1272134 TEST, TEST 00896002950803
OCCHILD ? ? ?&AI01 00001100000000
OCCHILD ? &ANGIS01 101011
OCCHILD ? &BWS01 10
Where can I see, what segment the record is?
Can I make out the fields per segment? Or do I have to know the structure per segment (for example via copybook).
The easiest way to find the structure of the database is to go to the DBD source and check out the structure there. The DBD source will be named something like this *.**.DBDSRCE. You will find detailed info on Segment names , parentage, and the fields within the segments.