1.CA(command Atention key)& CF(command Function key)
difference with example?Please can any body tell me in real
time exp?
2.Can any body tell me some mandatery function keys using
while creating any screen with use of SDA-FUNCTION
kEYS?

Answer Posted / neha

The CF and CA keywords are used in display files to enable
function keys. CF01 and CA01 both enable the F1 key on your
keyboard. The difference is that a CF (command function) key
updates the fields in your program, while a CA (command
attention) key does not.

A CA key also bypasses any field editing. For example, if
you enter a bad value into a field that has the VALUES
keyword specified in the DDS and then press a CF key, you
will get an error, and the screen will not be returned to
the program because the field doesn't pass validation. If,
on the other hand, you hit a CA key, the editing is
bypassed, and the CA key is returned to the program
(although the fields are not). The best use for CA keys is
keys that exit a screen without updating data--typically,
CA03 or CA12 in iSeries applications.

Is This Answer Correct ?    33 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

497


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5375


what was the robotech rpg?

668


what is program status data structure?

1360


what is kids-rpg?

655






what happens when sflsiz = sflpag? What are the advantages and disadvantages?

698


How to declare the pull button in AS/400..

1864


which program rpg or cl is efficent to update a transaction onto a database file and why ?

726


can you debug ile rpg program using isdb?

724


what is the procedure and explain about real time scenario.

1461


Explain mdt?

651


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2257


What is difference between bind by copy and bind by reference?

1712


how do you use commitment control in rpg?

738


How Chain operation copies the record's data to the input buffer for the program?

1063