View previous topic :: View next topic
|
Author |
Message |
sumitsharma
New User
Joined: 16 May 2006 Posts: 1 Location: pune
|
|
|
|
hi i have transferred 2 ps data into 2 table and from that tables i have transferred into 1 ksds file.now i wanted to know how to generate the report from that vsam file. so plss anyone can send me that program how to generate the report.
thanks
sumit |
|
Back to top |
|
|
ranjitbhingare
New User
Joined: 30 Nov 2005 Posts: 94 Location: PUNE
|
|
|
|
One way of creating report is
1. Create a REPORT-REC with HEADING-LINE and DETAILS-LINE
2. Then read your vsam file
3. Write HEADING-LINE into report file
3. After one record is read then move VSAM-FILE-REC fields in to your DETAIL-LINE record field.
4. WRITE DETAIL-LINE to report file
5. you can also specify after how many details lines you want HEADIN-LINE to be written again.
I hope this helps.
Please correct me if I am wrong.
Thanks & Regards,
Ranjit..... |
|
Back to top |
|
|
|