Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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



1.CA(command Atention key)& CF(command Function key) difference with example?Please can any bod..

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 ?    49 Yes 0 No

1.CA(command Atention key)& CF(command Function key) difference with example?Please can any bod..

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 ?    32 Yes 0 No

1.CA(command Atention key)& CF(command Function key) difference with example?Please can any bod..

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 ?    2 Yes 0 No

1.CA(command Atention key)& CF(command Function key) difference with example?Please can any bod..

Answer / archanasam

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 0 No

1.CA(command Atention key)& CF(command Function key) difference with example?Please can any bod..

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

Post New Answer



More RPG400 Interview Questions

Anybody can explain the difference between SFLCLR & SFLINZ?

7 Answers  


what is plat file?

6 Answers   Indian Infotech,


Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?

3 Answers  


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?

4 Answers   IBM,






can we use cl programming to update or delete physical files

12 Answers  


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


how can we can we the data decimal error?how can we open such file in support

1 Answers  


how do you use commitment control in rpg?

0 Answers   IBM,


One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?

4 Answers  


When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?

5 Answers   Mphasis,






Categories