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   interview questions urls   External Links  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 AS400  >>  RPG400
 
 


 

 
 RPG400 interview questions  RPG400 Interview Questions
 COBOL400 interview questions  COBOL400 Interview Questions
 DB400 interview questions  DB400 Interview Questions
 COOLPLEX interview questions  COOLPLEX Interview Questions
 IBM AS400 AllOther interview questions  IBM AS400 AllOther Interview Questions
Question
In single page subfile,if I select the mutiple options in 1 
page and without pressing enter,I press rollup key 
(pagedown).In such case how I can handle it in rpg becasue 
in single page we have to handle it in pgm. It would be 
helpful if any one answer with coding
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
Answer
# 1
We can handle this using physical file RRN value.When user 
enters some options in the first page and takes a pagedown 

Read the changes on the subfile using ReadC ie; read the 
option entered for that record and save the physical file 
RRN value for that record in a temporary file along with 
option (You can get RRN value by declaring File information 
data structure for that physical file)

When you load the records in the subroutine bfore writing 
the values to subfile ,Chain the temporary file with RRN 
value and if the RRn is present in the temporary file move 
the corresponding option to the Subfile options.

Check this temporary file evrytime you load the records on 
subfile and update this temporary file evry time there is a 
chnage on the subfile options.

Clear the temporary file when the user confirms delete or 
when user doesnt want to delete.
 
Is This Answer Correct ?    0 Yes 0 No
Swetha P Rao
 

 
 
 
Other RPG400 Interview Questions
 
  Question Asked @ Answers
 
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?  1
what is the difference between SETON RT & RETURN?  3
difference between CHAIN and READE? HCL5
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?  2
how to change the length of the field in a physicalfile?  9
what is estimation? and what is the level identifier parameter in PF? TCS1
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?. IBM3
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL) CTS3
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS IBM2
RPG/400 faqs? HSBC1
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field? IBM1
ESCAPE message sent by child program can be handled by parent program using which keyword?  2
wat is meant by hidden field , why it is used? Four-soft3
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS? IBM4
What is the significance of UDATE? IBM4
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?  1
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding Infinite-Computer-Solutions1
IN RLU what are the record level keyword is used? TCS1
How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file? CSC4
what is plat file?  4
 
For more RPG400 Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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