|
INTERVIEW QUESTIONS
MAINFRAME
CICS
DETAILS
Question: What is the difference between the Attention Identifier & Handle aid commands?How they are coded in the CICS Program?
Answer: AID indicates which method the terminal operator has used to initiate the transfer of information from the terminal device to CICS. Some examples of AID are PF keys, Enter key and Clear key EIBAID field in EIB contains the AID code of the most recently used AID. So EIBAID will be tested after each terminal control input operation. DFHENTER: ENTER key DFHCLEAR: CLEAR key DFHPF1 – 24: PF1 to PF24 keys Ex: IF EIBAID = DFHPF3 PERFORM END-ROUTINE. … HANDLE AID command is used to specify the label(i.e., paragraph name) to which control is to be passed when the specified AID received. After the completion of any terminal input commands such as RECEIVE or RECEIVE MAP commands, control will be passed to the specified paragraph in the program. This is one way of substituting the EIBAID checking approach. EXEC CICS HANDLE AID Option (label) à lable is paragraph name END-EXEC More than one option can be specified in one HANDLE AID command. EXEC CICS HANDLE AID PF3(END-ROUTINE) ENTER(NORMAL-ROUTINE) ANYKEY(WRONG-KEY-ROUTINE) END-EXEC. EXEC CICS RECIVE INTO(TERM-AREA) LENGTH(MSG-LEN) END-EXEC. At the completion of the RECEIVE command, control will be passed to the appropriate routine based on the key pressed.
|
|
|
Category |
CICS Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9347 users |
Added on |
2/28/2013 |
Views |
72081 |
Rate it! |
|
|
Question:
What is the difference between the Attention Identifier & Handle aid commands?How they are coded in the CICS Program?
Answer:
AID indicates which method the terminal operator has used to initiate the transfer of information from the terminal device to CICS. Some examples of AID are PF keys, Enter key and Clear key EIBAID field in EIB contains the AID code of the most recently used AID. So EIBAID will be tested after each terminal control input operation. DFHENTER: ENTER key DFHCLEAR: CLEAR key DFHPF1 – 24: PF1 to PF24 keys Ex: IF EIBAID = DFHPF3 PERFORM END-ROUTINE. … HANDLE AID command is used to specify the label(i.e., paragraph name) to which control is to be passed when the specified AID received. After the completion of any terminal input commands such as RECEIVE or RECEIVE MAP commands, control will be passed to the specified paragraph in the program. This is one way of substituting the EIBAID checking approach. EXEC CICS HANDLE AID Option (label) à lable is paragraph name END-EXEC More than one option can be specified in one HANDLE AID command. EXEC CICS HANDLE AID PF3(END-ROUTINE) ENTER(NORMAL-ROUTINE) ANYKEY(WRONG-KEY-ROUTINE) END-EXEC. EXEC CICS RECIVE INTO(TERM-AREA) LENGTH(MSG-LEN) END-EXEC. At the completion of the RECEIVE command, control will be passed to the appropriate routine based on the key pressed. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What are the commands available for browsing VSAM files? What is the sequence of coding these commands in the CICS programs?
|
View Answer
|
|
What are the VSAM files used in the CICS Programs?
|
View Answer
|
|
What is the difference between the LINK, XCTL & CALL statements?
|
View Answer
|
|
What is the difference between the Ignore Condition and the Nohandle condition?
|
View Answer
|
|
What is Quasi-reentrancy? Can you give examples of Quasi-reentrant programs?
|
View Answer
|
|
What is Multitasking & Multithreading?
|
View Answer
|
|
What is Pseudo-conversation?How it is achieved in CICS Programs?
|
View Answer
|
|
How many ways can we initiate a CICS Transaction? What are they?
|
View Answer
|
|
How a CICS Transaction be initiated?
|
View Answer
|
|
Can a file control paragraph be coded in the CICS Program?
|
View Answer
|
|
What are CICS Control programs and their respective CICS control tables
|
View Answer
|
|
What are CICS Control programs and their respective CICS control tables
|
View Answer
|
|
I have done a START BROWSE on a VSAM Data Set Can I do another START BROWSE without doing an END BROWSE?
|
View Answer
|
|
How do you rollback data written to an ESDS File?
|
View Answer
|
|
How will you access a VSAM File using an alternate index?
|
View Answer
|
|
How are VSAM Files Read in CICS pgms?
|
View Answer
|
|
When you do a START, what will the value of EIBCALEN?
|
View Answer
|
|
I invoke a transaction from CICS The program has a code: MOVE DFHCOMMAREA TO WS-AREA What happens to this transaction? What happens to the other transactions?
|
View Answer
|
|
How would you resolve an ASRA abend?
|
View Answer
|
|
What is an AICA abend?
|
View Answer
|