The copybook is used as an input file in this program, so the pgm parses through it to table up the field lengths. Then the input data file is examined and each field (between delimiter characters) is expanded to the correct length (padded with spaces). The input data file is defined as...
In an MVS environment, I have a COBOL program to read a variable length input file that is a database dump. The fields are variable length, with a delimiter char between fields. The program will also read in a COBOL copybook that has each field defined with a maximum size, i.e. PIC X(014)...
Slade,
I just joined this forum. Is there not a way to email a reply to a particular member? If not, then if you could just include a clip from working storage showing the field definition and redefines clause? Also, the multiplication and check of the result. I don't need to see the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.