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 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 -> COBOL Programming
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    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

dick scherrer

Site Director


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

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm

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