Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to generate the report from the vsam file data

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sumitsharma

New User


Joined: 16 May 2006
Posts: 1
Location: pune

PostPosted: Tue May 16, 2006 7:23 pm    Post subject: how to generate the report from the vsam file data
Reply with quote

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
View user's profile Send private message

ranjitbhingare

New User


Joined: 30 Nov 2005
Posts: 94
Location: PUNE

PostPosted: Tue May 16, 2006 8:54 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting group data rajella DFSORT/ICETOOL 4 Sun Jan 22, 2017 11:32 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us