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 an online rpg?

845


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

1996


What is file identifier where we can use?

729


what is program status data structure?

1559


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1394






are there any useful c runtime apis that I can call from rpg iv?

785


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

644


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.

5659


how do I declare a minor?

797


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?

618


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

928


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1981


what is the difference between do while and do until?

801


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?

4509


Explain mdt?

765