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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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