Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Report Generation in table manner

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
Anurag Singh

New User


Joined: 20 Jan 2008
Posts: 21
Location: India

PostPosted: Tue Jul 15, 2008 10:30 pm    Post subject: Report Generation in table manner
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
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8724
Location: 221 B Baker St

PostPosted: Tue Jul 15, 2008 11:10 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1