In every company there will be reusable copy book layouts for every ims segments.When you specify these copybooks as i/o area in the call it will automatically map each field in the segment to corresponding variable in the copy book. If it is a apth call you have to issue all the copybooks in the path as i/o area.Hope this is what u expected.
Or if your question is how to create the copy this book, you may need to look in to the DBDGEN for the database and find the size and type of each field in it. Declare a layout with correspondin datatypes in Cobol. If you need further clarification please let me know.
Sreejith.K.K
<<<E-Mail ID Removed>>> READ FORUM RULES.