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

Question about Report


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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
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: 677
Location: NJ

PostPosted: Tue Nov 22, 2005 10:49 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Question for file manager IBM Tools 7
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts question for Pedro TSO/ISPF 2
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top