IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Report Generation in table manner


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Anurag Singh

New User


Joined: 20 Jan 2008
Posts: 25
Location: India

PostPosted: Tue Jul 15, 2008 10:30 pm
Reply with quote

Hi,

Please suggest me the way to generate a report , in which prog reads a file and writes the report in a table format

i.e.

1. Record1 2. Record2
3. Record3 4. Record4
5. REcord5 6. Record6

so on ....


Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 15, 2008 11:10 pm
Reply with quote

Hello,

To do what you want, you need to define your report as "2 up".

One way to do this is to create the report as an occurs 2 times and alternate between the first and second set of report fields. Each time you fill the "second" set of fields, write the line.

When you have some code in test mode and if there are any questions or problems, post that part of the code and your question. When you post your code, use the "Code" tag near the top of the Reply panel. This will preserve your alignment and uses a fixed rather than a proportional font.

When you enter your post, click Preview to see how your post will appear to the forum. When you are satisfied with how your post appears, click Submit (do not forget to Submit - if you don't submit, your post does not go to the forum icon_wink.gif - i've done that several times. . .)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top