ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  CICS
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
pf7 and pf8 logic. first wnen i press pf7 first five 
records  has to be displayed .second time when i press pf7  
next five records to be displayed. what was the logic. give 
clear explination.
 Question Submitted By :: Surya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: pf7 and pf8 logic. first wnen i press pf7 first five records has to be displayed .second time when i press pf7 next five records to be displayed. what was the logic. give clear explination.
Answer
# 1
Can be do it in 2 way 

1, By using the TSQ

2, By using array, define a variable ( occurs clause of 5 ) 
first read the first five records from the vsam files, when 
its reaches the 5th records store the last record in the 
variable( linkage section ) and throw the map and populate 
the five records in the screen, handle the logic to start 
reading the file with the last processed record this way 
when pf7 is pressed it start reads from the last processed 
record.

If you want i can give you the sample code 

Farook
 
Is This Answer Correct ?    0 Yes 0 No
Mohamed Farook
 

 
 
 
Other CICS Interview Questions
 
  Question Asked @ Answers
 
What is Journal Recovery and Dynamic Transaction Backout?  2
How do you handle errors in CICS pgms ?  1
What command do you issue to delete a record in a transient data queue ?  1
What is the difference between a RETURN with TRANSID and XCTL ?For example prog. A is issuing REUTRN with TRANSID to prog B. Prog A. is issuing XCTL to prog B?  2
How do you rollback data written to an ESDS file? Infosys1
How many exceptional condition can be given in a HANDLE CONDITION?  4
What is MDT?  1
What is the function of DFHMDF BMS macro?  1
what is amp?  2
What are the situations under which NEWCOPY is required ? Cap-Gemini2
How would you resolve an ASRA abend?  1
What is interval control and what are some of the CICS commands associated with it?  1
What is Communication Area?  1
When there are 2 records with the same key specified in a DELETE operation what will happen?  2
How do you use extended attributes ?  1
What is the command for reading a record form a TSQ?  2
Which is the program which determines whether a transaction should be restarted ?  1
What is the difference between a package and a plan. How does one bind 2 versions of a CICS  1
What is the option specified in the read operation to gain multiple concurrent operations on the same dataset?  1
What is an AICA abend? Xansa3
 
For more CICS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com