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 QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am


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