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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 1 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am


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