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
 

 

Question about Report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sungang77

New User


Joined: 03 Nov 2005
Posts: 46
Location: Shanghai, China

PostPosted: Mon Nov 21, 2005 4:26 pm    Post subject: Question about Report
Reply with quote

Question:
A report will be printing both detail and total records. If the input control field is equal to the hold area control field, what processing should be performed?
Choice 1
Print the detail record and increment the total being accumulated.
Choice 2
Print the total record for the record in the hold area and zero out the totals again.
Choice 3
Print the record currently in the hold area and move the input record into the hold area.
Choice 4
Move the input file fields to a hold area to be compared with the next record.
Choice 5
Skip the input record.

My English is not good enough to know clearly about the mean of the question...I choose 2.
Back to top
View user's profile Send private message

Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Tue Nov 22, 2005 1:57 am    Post subject: Re: Question about Report
Reply with quote

Hi

The answer for this question is 1. When the input control field and hold area control field are same, it means that you have encountered a record with the same key that you are handling currently. So print it for detail report and add to the total for total records.

Regards,
Ramya
Back to top
View user's profile Send private message
sungang77

New User


Joined: 03 Nov 2005
Posts: 46
Location: Shanghai, China

PostPosted: Tue Nov 22, 2005 6:41 am    Post subject: Re: Question about Report
Reply with quote

Ramya Arun wrote:
Hi

The answer for this question is 1. When the input control field and hold area control field are same, it means that you have encountered a record with the same key that you are handling currently. So print it for detail report and add to the total for total records.

Regards,
Ramya

Thanks a lot, Ramya.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue Nov 22, 2005 10:49 am    Post subject: Report
Reply with quote

hi frnd,
As per Ramya the Solution will be Choice 1 i too agree.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts Daily report to be extracted from CA ... polymathtarun DFSORT/ICETOOL 5 Mon Jul 11, 2016 4:33 pm


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