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
 

 

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 Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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