can someone help me to create a report in the attached format.
The details of the various input fields is mentioned as below:
EMP ID (position 33-41),
DEP ID (position 33-41),
First Name (position 87-116),
Last Name (position 118-147),
DOB (position 52-62),
Address1 (position 148-182),
Address2 (position 183-217),
City (position 243-262),
State (position 221-222),
Zip (position 263-282)
the input is a dataset of lrecl=1000 , FB
& the op needs to be 133Byte,FB
Code:
1RUN DATE: 08/16/2007 ABC INC. PAGE: 1
RUN TIME: 13:00:50 AAAAAAAAAA AAAAAAAA SERVICES
XXXXXX XXX REPORT
EMP-ID DEP-IID FIRST-NAME LAST-NAME BIRTH-DATE
ADDRESS1 ADDRESS2 CITY STATE ZIP-CODE
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
I can't figure out what you want from your attachment. It's not clear which fields are on which lines, what's a heading and what's a data line, where the fields come from, etc. You need to do a better job of explaining and showing what you want the output to look like, and relating it to the input fields.