Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us