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?
Answers were Sorted based on User's Feedback
Answer / ullas
Above ans is not correct its just opposite
CF is a command function key to transmit changed data as
opposed to CA command attention key, which does not transmit
changed data.
| Is This Answer Correct ? | 50 Yes | 1 No |
Answer / 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 |
Answer / priya
CA does not retains the value into the buffer memory.
CF retains the value into the buffer memory.If we have
F3=Exit defined with CF in display File,in debug give F3 in
screen ,then it returns control to Debugging Program.For CA
,it comes out of debugging program.
| Is This Answer Correct ? | 4 Yes | 0 No |
It's just simple.CA keys are used to pass data from display device to your program or reading screen data and return gives control to your program
CF keys are usually used to don't any data from display device to program or with out reading screen data before giving control to your program.
So CF03 = exit usually used for existing screen,no need to pass data.
CA06 ,CA08 are usually used to add a record or to update a record,it means necessary you need to pass some action or data.
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / ardeep
CA Transfers data (i.e the indicator values) from the
Workstation/Display file to the RPG program. And we can use
that value in our programming logic.
Example -> F3 - Exit option on all the AS400 screens.
CF dosen't transfer any value. We can use the indicator
value only inside the Workstation/Display file and not
outside it.
| Is This Answer Correct ? | 7 Yes | 40 No |
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
what are the array operations?
What is the OPEN and CLOSE accesspath?
How many program bind in one module....
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
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
How to call one program from another program in RPG? please help me with the code
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?
difference betwen keywords and opcodes
i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.
How can i keyed a flat file in RPGLE
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.