Why do you use Keep and Assume Keywords.

Answers were Sorted based on User's Feedback



Why do you use Keep and Assume Keywords...

Answer / mithun paul

The entire display is kept if any of the records on the
display have KEEP specified. The default causes the entire
display to be deleted when the file is closed.

Assume keyword is specify that the OS/400 program is to
assume that this record is already shown on the display
when this file is opened. Such a record would also be
defined, with the KEEP keyword, in another display file.

This two keyword has no parameters.

Is This Answer Correct ?    14 Yes 0 No

Why do you use Keep and Assume Keywords...

Answer / bharat

Keep keyword is used to restore the screen display.
Assume keyword is used to make assume the program that the
record is on display.

Is This Answer Correct ?    6 Yes 6 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is cab?

0 Answers   IBM,


explain the difference between defining subfile and message-subfile?

1 Answers   IBM,


What are the record format field mapping options in cpyf?

0 Answers  


Want to know related Interview questions and answers for seniors

1 Answers  


Difference Between Skip Before & Space Before?

0 Answers   IBM,






what is the disadvantage of using global variable?

0 Answers   IBM,


can I copy content of Physican file in some source Member of type TXT? Thanx..

1 Answers  


What is a query can be displayed without saving it?

0 Answers   IBM,


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

0 Answers  


What is the purpose of the "N" in the following calculation specification? C KEY CHAIN FILE N 99

1 Answers  


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

0 Answers   TCS,


How can a data area be locked after being updated?

1 Answers  


Categories