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

How to generate reports in MVS cobol


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rameshs

New User


Joined: 15 Jun 2005
Posts: 53
Location: India, Chennai

PostPosted: Tue Jul 26, 2005 10:57 am
Reply with quote

hai friends,

I heard that report section in cobol can be use only in MS cobol(windows environment).
if it is like that then how to generate reports in MVS cobol(mainframe)
Back to top
View user's profile Send private message
Prandip

New User


Joined: 04 Mar 2005
Posts: 84
Location: In my tiny cubicle ...

PostPosted: Fri Jul 29, 2005 12:05 am
Reply with quote

Typically, reports are built programatically. Working-Storage is defined for headers, trailers, detail records, etc. Accumulators are defined to hold page counts, line counts, detail totals, etc. Logic is built to define page breaks, report breaks, total accumulations, etc. Optionally, there may be some feature built-in for the report formatting, such as selective font support, highlighting, underscoring, drawing, inclusion of images or logos and whatever else may be desired.
Back to top
View user's profile Send private message
worthy2005

New User


Joined: 09 Mar 2005
Posts: 17
Location: Shanghai,China

PostPosted: Fri Jul 29, 2005 7:57 am
Reply with quote

Rameshs wrote:
hai friends,

I heard that report section in cobol can be use only in MS cobol(windows environment).
if it is like that then how to generate reports in MVS cobol(mainframe)


I've the same question to ask. When I compile the cobol source, I get the result like this, "REPORT" is a reserved word related to lanuage not supported by this compiler.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Fri Jul 29, 2005 11:17 am
Reply with quote

while doing compilation, pls give element type as 'COBOLIIRW'. If its IDMS report pgm give IDMSIIRW.

Otherwise report specific verbs may nt be detected by the compiler
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top