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

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

1741


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2209


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

762


How can we know running job is batch or interactive?

663


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

718






Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

727


how do I preserve and clean the array?

681


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1028


How many program bind in one module....

2134


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1976


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

1094


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?

525


what is *place and *auto keyword in prtf ?plz explain

2737


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4226


how do I play {insert rpg system here}?

595