i.introduction to cics - .:: geocities.ws ::. · web viewi.introduction to cics 1.what does the...

34
Customer Information Control System I.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of International Business Machines Corporation 3.CICS is a Database/ Data Communication Control System 4.When was CICS introduced by IBM ? 1968 5.What are the two levels of CICS ? Command Level and Macro Level 6.CICS Command level is High Level version of CICS macro level 7.What is the primary objective of CICS ? -To provide the control and services of the DB/DC system -To free the programmer from hardware and OS constraints -To make application system development more easy 8.CICS forms a layer between the application programs and the operating system and acts as an interface between the two. True 9.The function of the Data-communication component of CICS is to provide -An interface between CICS and terminals or other systems -An interface to telecommunication access methods -Multi-region operation and Intersystem Communication 10.The CICS data-handling component Provides an interface between CICS and data 11.The Application program services if CICS provides the following services: It acts as an interface between CICS and the application programs. Interface between COBOL, PL/I and Assembler Programs. Provides Command level translation. True 12.CICS' system services provides an interface between CICS and the operating system and carries out the functions like loading and releasing of application programs, acquiring and freeing of storage , task scheduling, etc. True 13.Which of the following control program is not associated with the corresponding control table ? Task control program - Task control table 14.Once the control programs and tables are installed, the programs can be kept as they are and the modifications like Page 1 of 34

Upload: nguyenthuy

Post on 22-May-2018

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

I.Introduction to CICS1.What does the word CICS stand for ?

Customer Information Control System 2.CICS is the product of

International Business Machines Corporation 3.CICS is a Database/ Data Communication Control System 4.When was CICS introduced by IBM ?

1968 5.What are the two levels of CICS ?

Command Level and Macro Level6.CICS Command level is

High Level version of CICS macro level7.What is the primary objective of CICS ?

-To provide the control and services of the DB/DC system -To free the programmer from hardware and OS constraints-To make application system development more easy

8.CICS forms a layer between the application programs and the operating system and acts as an interface between the two. True9.The function of the Data-communication component of CICS is to provide

-An interface between CICS and terminals or other systems -An interface to telecommunication access methods -Multi-region operation and Intersystem Communication

10.The CICS data-handling componentProvides an interface between CICS and data

11.The Application program services if CICS provides the following services:It acts as an interface between CICS and the application programs.Interface between COBOL, PL/I and Assembler Programs.Provides Command level translation. True

12.CICS' system services provides an interface between CICS and the operating system and carries out the functions like loading and releasing of application programs, acquiring and freeing of storage , task scheduling, etc. True 13.Which of the following control program is not associated with the corresponding control table ?

Task control program - Task control table 14.Once the control programs and tables are installed, the programs can be kept as they are and the modifications like additions or deletions of hardware, programs, etc. can be done to the control tables. True15. The Languages supported by CICS are ?

COBOL, PL/I, Assembler16.How can a CICS transaction can be initiated ?

-By entering the transaction id -By issuing the START command-By Automatic Transaction Initiation

17.A CICS Transaction can be initiated by an Attention identifier Key such asPA keys, PF keys, ENTER key or CLEAR key.True

18.CICS is aOn-line System

19. Air line and railway reservation systems are examples of A combination of on-line and batch system 20.The databases which CICS can access are

DB2, DL/I, Oracle

Page 1 of 22

Page 2: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

II.CICS FUNDAMENTALS1.Multitasking means that the operating system allows more than one task to be executed concurrently regardless of whether the task uses the same or different programs. True .

2.The technique which allows a single copy of an application program to process several transactions concurrently is known as Multithreading

3.A program one which does not modify itself so that it can re-enter to itself and continue processing after an interruption by the operating system is called a Re-entrant Program

4.Re-entrant programs are used in on-line systems and they make it possible for the operating system to establish a multithreading environment. True

5. A program which does not modify itself during execution or which restores itself to its original condition before a new CICS command is called a Quasi-re-entrant Program

6.Sending a message to the terminal user and receiving a response from the user is called a Conversation

7.In the conversational mode the system waits for the user to enter his response and then press an attention key, and while waiting the resources are held by the program or task. So conversational mode of programming is inefficient True

8.The mode of achieving conversation with the user, by sending him the message and while waiting for his response, freeing the system resources is called pseudo-conversation

9.In the CICS command level all the re-entrancy issues are handled by the system. True

10.For all CICS Command level application programs, quasi-re-entrancy is automatically ensured. True

11.What is the general Command format of CICS ?EXEC CICS followed by the command

12.What is the CICS Command delimiter for COBOL?END-EXEC

13.What is the ending delimiter for a CICS Command in the PL/I language? ;(semi colon)

14.What is the CICS Command ending delimiter for Assembler?End of the continuation character

15.The CICS Command argument values possible for COBOL are Data-Value, Data-area, Pointer-ref, Name, Label and HHMMSS True

16.The argument value for CICS commands in COBOL which is used for time expression is HHMMSS

Page 2 of 22

Page 3: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

17.What is the argument value used for passing control to the paragraph or section in the Procedure division? Label

III.Exception Handling in CICS

1.If no exception handling is provided in the program, what will happen ?CICS will take the default action specified for the condition

2.CICS will issue an ABEND code when an exception condition occurs and if the default action is termination of the task. True 3.EIB stands for EXEC Interface Block4.The EIB field which gives the last CICS command executed is EIBFN 5.What is the EIB field which gives the response code of the last executed CICS Command?

EIBRCODE 6.The Command which helps in checking which exception condition has occurred and what to do when an exception condition occurs is HANDLE CONDITION 7.The HANDLE CONDITION command will check for any of the specified exceptions has occurred and if yes will pass control to the procedure specified. True 8.A HANDLE CONDITION remains active until the end of the program or until another HANDLE CONDITION command. True 9.What is the option of the HANDLE CONDITION command which handles all the exceptions that are not specified in the command? ERROR 10.What is the maximum number of conditions that can be specified in a HANDLE CONDITION Command? 12 12.What happens when an exceptional condition handling routine of a HANDLE CONDITION command issues the same command which caused the exception?Program will go into an infinite loop 13.What is the function of the IGNORE CONDITION Command ?It ignores specified exception conditions14.What will happen if the condition specified in the IGNORE CONDITION command occurs ?CICS will return control next instruction 15.What is the command option which asks CICS to ignore any exception condition that occurs when a command is executed? NOHANDLE 16.When the RESP option is coded into a command CICS returns a response code to a pre-defined working storage area. True 17.What should be the picture clause of the Response field on the working storage section ?

S9(4) COMP18.The PUSH and POP commands are used to suspend and reactivate all HANDLE CONDITION requests currently in effect. True19.What are the CICS command for which PUSH and POP commands are applicable ?

HANDLE CONDITION, HANDLE AID, HANDLE ABEND20.Which is the CICS command used to access information in the CICS system areas like CSA, CWA, TCTUA, TWA, etc.? ADDRESS 21.What is the command used to obtain the values outside the application program?

ASSIGN 22.How to get the sign-on user-id from an application program?

ASSIGN command with USERID option23.Which field of the EIB gives the length of the DFHCOMMAREA?

EIBCALEN 24.Which is the EIB field that gives the date when a task was started?

EIBDATE

Page 3 of 22

Page 4: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

25.The EIBTRMID field of the EIB givesThe Terminal ID

26.Which is the CICS control program that handles the application programs request for storage?Storage Control program

27.The CICS command used for acquiring virtual storage dynamically while the program is executed is GETMAIN 28.What will happen if no storage is available when a GETMAIN command is issued?

The task is suspended till storage is available29.The INITIMG option of the GETMAIN command determines the initial values to be filled in the storage acquired. True 30.What is the CICS command which is used to dynamically free the storage acquired through a GETMAIN command FREEMAIN

IV.PROGRAM CONTROL1Which is the CICS control program which governs the flow of control among the CICS application programs?

Program Control Program 2.What is a task ?

-A unit of work scheduled by CICS.-A task consists of one or more programs

3.What is the command which is used to pass control from the originating program to another program at one logical level lower than the current, expecting the control to be returned?

LINK 4.What will happen if the SYSID and INPUTMSG options are together used in the LINK command?

The translator will issue an error 5.If the LINKed program in the remote CICS region abends the ABEND code is returned to the calling program.

True 6.What is the CICS command which is used to transfer control form one program to another at the same logical level?

XCTL 7.What happens if the program that is LINKed or XCTLed is not in the PPT

PGMIDERR occurs 8.LENGERR, NOTAUTH and PGMIDERR are some of the common exception conditions that can occur with LINK and XCTL. True9.What is the option for passing data for a LINK or XCTL command ?

COMMAREA 10. What is the maximum length of the COMMAREA that can be passed?

65,536 bytes 11.Which is the EIB field that determines whether the COMMAREA was sent or not?

EIBCALEN 12.If the length of the EIBCALEN field is more than 0, then it means that COMMAREA was sent.

True 13.The RETURN command when issued will return the program control to the next higher logical level program or CICS. True 14. The IMMEDIATE option in the RETURN command will ensure that the next transaction contained in the TRANSID option is attached to the terminal regardless of any transactions queued up for the terminal by ATI. True

Page 4 of 22

Page 5: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

15.Which is the option of the return command that specifies the ID of the transaction that is to be executed next? TRANSID 16.What will happen when an application program which is not at the highest level issues a return command with the COMMAREA or IMMEDIATE option ? INVREQ occurs17.What will happen when the length of the COMMAREA is greater than the value specified in the LENGTH option? LENGERR occurs Task terminates abnormally18.What is the function of the LOAD command?

To fetch a program, table or map to the main storage.19.What is the command which will delete a program LOADed into the main storage using LOAD command? RELEASE 20.What will happen, if the program name specified in the PROGRAM option of the LOAD command is not defined in the PPT? PGMIDERR occurs21.When will PGMIDERR occur?

-The program is not defined in the PPT-The program is disabled-The program cannot be loaded

22.What will happen when the resource security check has failed on the program which has been specified in the PROGRAM option of the LOAD command? NOTAUTH 23.If the LOAD command is used without the HOLD option the program will be released from the main storage after the execution of the program True24.What will happen when a RELEASE command is issued for a program which was not previously loaded? INVREQ occurs 25.What is the primary function of the Processing Program Table (PPT)?

To register all programs and maps 26.Which is the CICS control program that is associated with the PPT

Program Control Program27.Programs that are directly invoked from the operating system services and that do not contain any CICS commands need not be registered in the PPT True28.Which is the macro used for making an entry in the PPT DFHPPT 29.What is the function of the Program Control Table?

To register control information of all CICS transactions30.In pseudo-conversational mode CICS frees all the resources until the user presses an attention key and then receives the response. True

V.FILE CONTROL1.Which is the CICS control program which provides the application programs with services to read, write, update and delete records into a file?

File Control Program2.Which is the primary data access method of CICS?

VSAM 3.The 3 types of VSAM files which are supported by CICS are KSDS ,ESDS, RRDS

True4.The READ command with INTO option will read the record specified into the data area specified. True5.When a READ operation is performed and the system encounters a duplicate record what will happen? DUPKEY condition occurs6.When is the exception condition NOTFND occurs for the READ command?

When the record is not found 7.If the file from which the record has to be read is not open what will happen?

CICS will open the file automatically

Page 5 of 22

Page 6: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

8. When the READ command with the SET option is used the CICS will set the address pointer to the address of the record in the file i/o area within CICS, so that the application program can directly refer to the record without moving the record contents into the Working storage area.

True9.Which is the option of the READ command that is used to read a non specific record based on the generic key, instead of the full key?

GENERIC option10.When the key length specified in the KEYLENGTH option is greater than the actual key length of the record, what will happen?

INVREQ condition will be set 11.Which is the option of the READ command that is used to read a non-specific record whose key is equal or greater than the full key data specified?

GETQ option 12.What is the options used along with the READ command for updating a record using the REWRITE command? UPDATE option 13.When a READ with UPDATE or REWRITE command is used the task will not getexclusive control over the records. False14.When a REWRITE command is issued without a prior READ with UPDATE command what will happen ?

INVREQ condition will be set 15.A READ with UPDATE command will hold the exclusive lock over the record until a REWRITE command is issued or till the transaction is completed.

True16.What is the CICS command that can release the exclusive lock over a record that is obtained by the READ with UPDATE option ?

UNLOCK 17.What is the command that is used to add a new record to the file ?

WRITE Command 18.When a WRITE command is issued with the key that is already existing what will happen?

The DUPREC condition will be set 19.If there is no disk space for adding a new record what will happen?

NOSPACE will be set20.What is the option of the write command which is used for inserting a group of records whose keys are in the ascending order into a file?

MASSINSERT 21.The WRITE with MASSINSERT option will give exclusive control over the file to the task.

True 22.Which is the command that is used to release the exclusive control over a file by a WRITE with MASSINSERT option?

UNLOCK 23.What is the command used to delete a record or a group of records from a file DELETE 24.If a DELETE command without the RIDFLD option is specified without a prior READ for UPDATE command, what will happen?

INVREQ condition will be set 25.When there are 2 records with the same key specified in a DELETE operation

what will happen?DUPKEY condition will be set

26.When you want to delete a group of records which is the option that you use?GENERIC

Page 6 of 22

Page 7: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

27.When one transaction needs exclusive use of some resource which is being held by a second transaction, the first transaction waits for the resource held by the second transaction while the second transaction will be waiting for the first to do the same. This situation is known as

Transaction Deadlock28.What is the command for establishing a position for a browse operation?

STARTBR29.Which are the two commands used for sequential browse operation ?

READNEXT and READPREV 30.Which is the command used for re-establishing the settings of a browse operation?

RESETBR 31.Which is the command used for terminating a browse operation?

ENDBR 32.What is the error condition that is set when the file specified in the NAME option is not in the FCT?

DSIDERR 33.What will happen when a READNEXT command reaches the end of the file?

ENDFILE condition will be set 34.What is the primary function of the File Control Table?

To register control information of all files 35.Which is the control program that uses the information in the FCT?

File control program 36.What are the databases that CICS can access?

DB2, DL/I, ORACLE

VI.TERMINAL CONTROL1.Which is the CICS control program that provides communication servicesbetween user written application programs and terminals?

Terminal Control Program 2.What is the CICS command that is used to receive the un-formatted data from the terminal or logical unit of a communication network?

RECEIVE 3.If the actual data entered from the terminal exceeds the length set by the program in the LENGTH option, what will happen?

-The excess data will get truncated -The LENGTH field will have the actual length -LENGERR condition will be set

4.What is the command that is used to send un-formatted data to the terminal or logical unit in a communication network?

SEND 5.What will happen, if an out-of-range or negative value is specified in the LENGTH option of the SEND command?

The LENDER condition will be set

Page 7 of 22

Page 8: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

6. Which is the EIB field that contains the value of the Attention Identifier that terminal operator has used to initiate the transfer of information form the terminal to CICS?

EIBAID 7.What is the name of the CICS copy library member that gives the list of the Attention Identifiers?

DFHAID 8.What is the command used to specify the label to which control is to be passed when a specified AID is received?

HANDLE AID9.Which is the option of the HANDLE AID command that will pass control to the specified label when any key is pressed?

ANYKEY 10.Which is the AID that will not be identified in the ANYKEY option of the HANDLE AID command?

ENTER 11.What is the function of the Terminal Control table?

To register all CICS terminals12.Which is the CICS control program that is associated with the TCT?

Terminal Control Program 13.What is the command that is used to get a hard copy of a screen on a printer?

ISSUE PRINT 14.What is the CICS command that is used to copy a screen image of a terminal into another terminal?

ISSUE COPY 15.What is the name of the CICS macro used for defining an entry in the FCT?

DFHFCT 16.Which is the parameter of the DFHFCT macro that is used to translate all lower-case characters to upper-case for 3270 terminals?

FEATURE=UCTRAN

VII.Developing a CICS Application.1.An Inquiry transaction provides the terminal user with the opportunity to examine a record form a file or a database.

True 2.The different kinds of CICS transactions are Inquiry, Data Collection, Update, Browse and Menu transactions.

True 3.What is the CICS transaction that allows the terminal user to chose one of the several functions from a single transaction.

Menu transaction 4.For a CICS program using COBOL as a host variable all the sections of COBOL like the configuration section, input-output section, etc. are required.

False 5.For a CICS program in COBOL linkage section is not required.

Depends on the application6.Which are the COBOL verbs that cannot be used in a CICS application program?

-ACCEPT, CURRENT-DATE, DATE, DAY,DISPLAY, EXHIBIT, RUN, TRACE -OPEN, CLOSE, WRITE, DELETE

7.All COBOL statements which triggers the Operating system supervisor calls can be used in a CICS program using COBOL.

Page 8 of 22

Page 9: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

False8.What is the last statement of a CICS program?

EXEC CICS RETURN or GO BACK 9.What is the process of converting the CICS commands into the equivalent host language statements called?

Translation 10.Translation is done by

Translator11.Each language, COBOL, PL/I and Assembler does not require a separate command language translator

False12.The CICS command language translator will comment out the CICS commands and will issue COBOL CALL statements which the compiler can process producing the object module.

True 13.An XCTL uses more CPU time than LINK

False14.The dynamic working storage area of any program that issues a LINK command will not remain in the storage.

False 15.The main disadvantage of using a CALL statement instead of LINK is that the called program must be LINKed to the program that calls it and so the program must be re-linked if the called program changes.

True16.The performance of the CICS program will be increased if the program contains COBOL features like SORT and REPORT WRITER.

False 17.If you use the OPTIMIZE compiler option the size of the program can be reduced by 5 to 10%.

True 18.The COBOL verb EXAMINE will not reduce the performance of the CICS program

False

VIII.CICS Programming Techniques.1.What are the commands used for allocating and releasing memory dynamically?

GETMAIN and FREEMAIN2.What are the different databases that CICS can access?

-DL/I data base-DB2 -ORACLE

3.The DL/I database is a hierarchical database and the DL/I access method is the access method of the Information Management System (IMS)

True 4.CICS provides an interface through which the all the DL/I services can be used under CICS.

True 5.What is the command used to use the DL/I services?

EXEC DLI function 6.Before one can use the DL/I commands in a program, the CICS control tables must be defined for the directory of DL/I database descriptions(DBD) and Program Specification Blocks (PSB).

True

Page 9 of 22

Page 10: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

7.What is the control table definition macro that is used to define the Database Descriptions (DBD) of the DL/I database ?

DFHDLDBD8.What is the macro that is used to define the database elements of a DL/I database, an application is authorised to use in the CICS control tables?

DFHDLPSB 9.What is the access method used by DB2?

SQL 10.DB2 is a hierarchical database

False 11.CICS and DB2 can exist in the same region under the Operating system

False 12.What is the facility that connects CICS and DB2?

CICS attachment Facility13.What is the syntax of the DB2 access commands?

EXEC SQL function 14.The application programs that contain the SQL statements must be Pre-compiled for converting the SQL statements into equivalent COBOL statements

True 15.Translation Time is not reduced if the Pre-compilation is done first.

False16.What are the SQL commands that can be used in a CICS application program?

SELECT, FETCH UPDATE, DELETE INSERT

17.One of the most efficient ways of passing data between programs and the one which uses fewest CICS resources is using the DFHCOMMAREA.

True

XI.Basic Mapping Support.1.Native Mode Data Stream (NMDS) is a mixture of Buffer Control Characters(BCC) and text data.

True2.In order to display a formatted screen, a terminal must receive a series of data stream called Native Mode Data Stream.

True3.NMDS is device independent.

False4.NMDS is both device dependent and format dependent

True 5.What is the name of the facility provided by CICS to free the application program form the problems caused by NMDS (device and format dependence)?

Basic Mapping Support6. A screen defined through BMS is called

Map 7.What are the different types of maps?

Physical and symbolic maps 8.Physical map is coded using BMS macros, assembled and then link-edited into the CICS load library.

True

Page 10 of 22

Page 11: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

9.By using symbolic maps the layout changes in the screens can be done independent of the application program coding as long as the field name and length remains the same.

True 10.Symbolic map is coded using the BMS macros, assembled and put into a copy library which can be used by the application program.

True11.A group of maps which are link-edited together is called

Mapset12.What are the three BMS options ?

Minimum, Standard, Full13.What is the name of the mapset definition macro?

DFHMSD14.DFHMDI is used for defining

Maps15.What is the BMS macro used for defining the map fields?

DFHMDF16.In the DFHMSD macro TYPE=DESCT means it is a symbolic map and TYPE=MAP means it a physical map.

False17.What is the option used to signal the end of the mapset coding?

TYPE=FINAL followed by END 18.What are the four options available for the LANG parameter of the DFHMSD macro?

COBOL, ASM, PLI, RPG 19.When for the DFHMSD macro is coded with CNTL option as PRINT what will Happen?

Mapset will be sent to the printer 20.The attribute character is an visible 1 byte character which precedes a screen field and determines the characteristics of the field.

False 21.Which parameter of the DFHMDF macro defines the attribute characteristics of the field?

ATTRB 22.Which is the ATTRB parameter option that cause the cursor to skip to the next unprotected field?

ASKIP23.Which option of the ATTRB parameter make a field protected?

PROT 24.When the NUM option of the ATTRB parameter is specified only non numeric values can be entered

False 25.What is the option of the ATTRB parameter that causes the cursor to be positioned in that field?

IC26.What is the ATTRB parameter option that is used for entering passwords?

DRK

Page 11 of 22

Page 12: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

27.When the FSET option is specified in the DFHMDF macro, even if the field is not modified the MDT will be set off..

False28.Only if the Modified Data Tag is set on the data will be transmitted from the terminal to the application program

True 29.What is the command used for receiving a map from a terminal?

RECEIVE MAP 30.What is the option in the RECEIVE MAP command that is used to override the uppercase translation specified in the TCT option FEATURE=UCTRAN?

TREMINAL ASIS 31.What is the command used to send a map to a terminal?

SEND MAP 32.What is the option of the SEND MAP that is used to erase the current screen before the map specified appears on the screen?

ERASE 33.What is the option that is used to erase all unprotected fields during a SEND MAP operation?

ERASEAUP 34.If DATAONLY option is specified in the SEND MAP command what will happen?

Only the symbolic map will be send 35.If MAPONLY is specified in the SEND MAP command what will happen?

Only the Physical map will be send 36.Which is the command used by an application program to dynamically establish the device control options without actually sending a map?

SEND CONTROL37.The method of Cursor positioning by placing the IC option in the ATTRB parameter while defining the field using the DFHMDF macro is called

Satic cursor positioning 38.How will you achieve for dynamic symbolic cursor positioning?

By moving -1 to the length field 39.What will happen id the map is send with the CURSOR(10) ?

Cursor will be positioned at the 10th position form the beginning40.If during the map definition time 5 fields are defined with Insert Cursor attribute where will be the cursor positioned?

Last Field41.What is the command that is used to send a single-stream text to a terminal without BMS maps?

SEND TEXT 42.Which is the command used for accumulating text blocks?

SEND TEXT with ACCUM option 43.Which command is used to send the text blocks accumulated using a SEND TEXT command with ACCUM option?

SEND PAGE 44.Which is the command used to send a logical message which consists of more than one map or text block to the terminal?

SEND PAGE 45.Which is the command that is used to purge the multi-page message which has been build in the TSQ by BMS?

PURGE MESSAGE X.TRANSIENT DATA CONTROL.

Page 12 of 22

Page 13: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

1.What is the CICS control program that allows a transaction to deal with Transient Data Files?Transient Data Control Program

2.What are the different types of Transient Data Queues?Intrapartition and Extrapartition

3.Which is the CICS table where all the TDQ names are registered?Destination Control Table

4.The group of sequential records which are produced and processed by the sameof different transactions within a CICS region is calledIntrapartition TDQ

5.The read of a record from an Intrapartition TDQ is not destructive.False

6.Intrapartition TDQs can be used forInterface among CICS transactionsAutomatic Transaction InitiationMessage Routing

7.A group of sequential records which interfaces between the transactions ofthe CICS region and the systems outside the CICS region is calledExtrapartition TDQ

8.What is the command that is used to write a record into a TDQ? WRITEQ TD

9.When the destination ID of the TDQ, to which a record is written, is notspecified in the DCT, what will happen?QIDERR will be set

10.What is the CICS Command that is used for reading a record from the TDQ?READQ TD

11.When the TDQ on which a READQ TD operation is performed contains no recordswhat will happen?QZERO condition will be set

12.The command DELETEQ TD can be used to delete an Extrapartition TDQ?False

13.What is the command that is used to delete an Intrapartition TDQ?DELETEQ TD

14.What will happen if the TDQ that you want to delete is not in the DCT?QIDERR will occur

15.What is the primary function of the Destination control table?To register the control information of all TDQs

16.What is the name of the CICS control program which uses the DestinationControl Table for identifying the TDQs and performing the Input/outputoperations against them?Destination Control program

17.What is the name of the CICS macro used for defining an entry in the Destination Control Table?

DFHDCT 18.When an Intrapartition TDQ is read the record is logically removed but it

still occupies the space.True

19.What is the option of the DFHDCT macro which will free the space occupied by a record that is already read, thus logically removed, from the TDQ?REUSE=YES

20.If REUSE=YES is specified in the DFHDCT definition of an Intrapartition TDQ,

Page 13 of 22

Page 14: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

after a record is read thus logically deleting it, is it recoverable?Not Recoverable

21.What is the option of the DFHDCT macro which makes it possible to recoverlogically deleted records from an Intrapartition TDQ?REUSE=NO

22.What is the name of the CICS facility, by which a task can be automaticallystarted when the number of records written into a TDQ reaches a specified level?Automatic Task Initiation

23.What is the parameter which determines the number of record that is to bewritten to a TDQ so a specified task is Automatically started?Trigger Level

24. The trigger level for a task is defined as one in the DFHDCT. The task isautomatically started as soon as there is an entry in the TDQ. But whilethe task is running, another entry is written in the TDQ. What will happen?CICS will start a new instance of the transaction

25.How will you distinguish between an Extrapartition and Intrapartition TDQ in a DFHDCT entry?

By using the TYPE parameter INTRA/EXTRA

Page 14 of 22

Page 15: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XI.Temporary Storage Control.1.Which is the CICS control program that provides application programs with the ability to store and retrieve data in a Temporary Storage Queue?

Storage Control Program 2.Before you can use a Temporary Storage Queue you must first define the Queue

name in the CICS Temporary Queue Table.False

3.Reading a record from a TSQ will logically delete the record from the Queue.False

4.The records in TSQ, once written will remain accessible until the entire TSQis explicitly deleted.True

5.TSQs can be written in the Main storage or Auxiliary storage.True

6.A TSQ written in the main storage is recoverable.False

7.Which is the table, where you have to define the TSQ that is in theauxiliary storage to make it recoverable?Temporary Storage Table

8.What is the command for writing a record into a TSQ? WRITEQ

9.What is the command used for updating or rewriting a record in a TSQ? WRITEQ TS

10.What is the command for reading a record form a TSQ?READQ TSREADQ

11.What is the command for deleting a TSQ?DELETEQ TS

12.While writing a record using the WRITEQ TS, if the specified TSQ does not exist what will happen?

CICS will create a TSQ and write the record into it 13.While writing a record into a TSQ, if sufficient space is not available what will happen?

NOSPACE condition will be set. The task will be suspended until space is available

14.If you do not want the task to be suspended due to lack of space whilewriting a record to the TSQ what should you do?NOSUSPEND option must be specified

15.What is the option that you specify in the READQ command, if you want toknow the number of items in the TSQ?NUMITEMS

16.What will happen if the specified TSQ id is not found?QIDERR will be set

17.What option must be specified along with the WRITEQ command for updating arecord in a TSQ?REWRITE

18.Which condition will be set when a DELETEQ command cannot find the TSQspecified for deletion?QIDERR

Page 15 of 22

Page 16: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XII.Interval and Task Control1.Which is the CICS control program that provides application programs with

time-controlled functions?Interval Control Program

2.Which is the command used to get the current time and date ?ASKTIME

3.Before issuing an ASKTIME command what will be the values in the EIBDATE andEIBTIME fields if the EIB?The date and time at the task initiation

4.What is the command that is used to get the date and time in the various formats?FORMATTIME

5.What is the command that is used to delay the processing of a task for aspecified time interval or until a specified time?DELAY

6.What is the command used to request notification when the specified time has expired?POST

7.What is the command that is used to wait for an even to occur?WAIT EVENT

8.Which command is used to start a transaction at the specified terminal andat the specified time or interval?START

9.Which is the control table where you specify all the transaction that are tobe started by CICS after CICS start-up?Program List Table

10.Which is the command that is used to retrieve the data passed by the startcommand which was issued in another transaction in order to initiate thecurrent transaction?RETRIEVE

11.What is the command that is used to cancel the interval control commandslike DELAY, POST, START, etc. which have been issued?CANCEL

12.Which is the CICS command that is used to suspend a task to give control totasks with higher priority?SUSPEND

13.What is the command that is used to gain exclusive control over a CICS resource?ENQ

14.The command that is used to remove the exclusive control got by the ENQcommand over a resource is calledDEQ

15.If you try to ENQ a resource which is already ENQed by another task what will happen?ENQBUSY condition will be set

Page 16 of 22

Page 17: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XIII.APPLICATION DESIGN1.The first step in the development of an application system is the Requirement Analysis.

True 2.What are the different stages of the Software development Life cycle?

-Requirements Analysis & Definition, High Level System Design-Low Level Design and Coding -Testing, Implementation and Maintenance

3.What is the document that is generated after the requirements analysis anddefinition?Requirement Analysis Document

4.One of the most important aspect in the design of an on-line transactionprocessing system is the user-interface design.True

5.Use of Pseudo-conversational mode is one of the strategies which will reducethe resource usageTrue

6.By modularising the programs based on the functionality, the modules can beshared by different programs thus reducing the code redundancy.True

7.Modularising the programs will reduce the maintainability.False

8.You cannot use TSQs instead of the CSA,CWA,TWA,TCTUA for passing or storing dataFalse

9.By placing the sub routines closer to calling program the performance willimproveTrue

10.A perfectly reliable system requires no system recovery.True

11.Program modularity, structured programming, and use of adequate comments inthe source code, are some of the methods for making the system moremaintainable.True

Page 17 of 22

Page 18: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XIV.RECOVERY & RESTART1.The goal of a recovery process is to Maintain the integrity of the data

processed by the system and to minimise the impact of a task or systemfailure.True

2.Which of the following are recoverable CICS resources?Data files and data bases Intrapartition TDQs Auxiliary TSQs

3.Automatic recovery processing is only performed for resources that thesystem administrator has defined as recoverable.True

4.What is a Logical Unit of Work (LUW)?A sequence of operations logically tied together

5.What are the beginning and end points of an LUW called?Sync point

6.A sync point is automatically generated by CICS at task initiation and taskcompletionTrue

7.Sync points cannot be requested by the application programs.False

8.What is the facility by which CICS collects recovery information?Logging

9.What is the name of the log where task related recovery information isstored?Dynamic Log

10.A unique dynamic log is maintained in the virtual storage for each taskassociated with a recoverable transaction.True

11.The dynamic log for each task is cleared at the beginning of each LUWTrue

12.The tasks that are running during a system crash are calledIn-flight tasks

13.Information stored in the dynamic log is also stored in the system logTrue

14.What is the name of the log which contains the information needed to restartthe system, including the task sync point information and system activitykey points, snapshots of key system tables, etc.System Log

15.What is the name of the process of backing out the changes made torecoverable resources when a task failure occurs?Dynamic Transaction Backout

16.The process of restarting a task automatically after abnormal termination is calledAutomatic Transaction Restart

17.Which is the program which determines whether a transaction should be restarted ?Transaction Restart Program (RTY)

18.The process by which CICS automatically records all changes made to a filein the journal specified in the FCT is calledAutomatic Journaling

19.A SYNCPOINT command with ROLLBACK option will cause all resource

Page 18 of 22

Page 19: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

modifications since the last syncpoint to be backed out.True

20.The process of writing its own type of journal records by the applicationprogram, other than the automatic journalling provided by CICS is calledExplicit Journalling

21.What is the command used for explicit journalling?JOURNAL

22.Which is the JOURNAL command option that cause the application program towait till the completion of the Journaling?WAIT

23.Which the CICS control table used for registering the control information ofthe system log and journal files?Journal Control Table

24.What are the three modes in which CICS an be started?Cold, warm and emergency

25.During the cold and warm start the information stored in the system log is usedFalse

26.Dynamic Transaction Backout is performed only duringEmergency start

27. The CICS recovery facility which uses a dual system approach, where onesystem monitors the activities of the other system which perform all thetasks, and when a system crash occurs the monitoring system takes over andcontinues the tasks, is calledExtended Recovery Facility

Page 19 of 22

Page 20: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XV.CICS Intersystem Communication.1.What are the 2 ways in which CICS intercommunication can be achieved?

MRO and ISC 2.The resources of the systems participating in the intercommunication can be

exchanges or shared among the ssriram krishnaTrue

3.The facility by which one CICS system in one processor can communicate withother CICS systems or non-CICS systems in the same or other processors is calledInter system communication

4.Inter system communication requires sophisticated communication networksbased on the System network architecture, which defines protocols, standardsand data formats of communications by different hardware and software in themulti-system environment.True

5.What is the name of the facility which allows a CICS application program inthe local CICS system to access the resources owned by another remote CICS system?Function request shipping

6.What are the remote resources that are available for function request shipping?VSAM files, DL/I database TDQs and TSQs

7.What is the name of the CICS supplied transaction for administering functionrequest shipping?Mirror Transaction

8.What is the name of the CICS supplied transaction for administering functionrequest shipping?Mirror Transaction

9.Where does the mirror transaction reside?Remote System

10.What is the facility which allows a CICS application program in the localCICS system to initiate a remote transaction which is owned by the remote system?Asynchronous Processing

11.The CICS facility which allows a terminal connected to the local CICS systemto run remote transactions which are owned by the remote CICS system in theremote CICS system is calledTransaction routing

12.Only conversational transactions is supported in Transaction Routing FacilityFalse

13.BMS paging operations are supported in the Transaction routing Facility.True

14.The Relay program is a CICS supplied program for administrating Transaction Routing/True

15.Where does the relay program reside?Local system

16.What is the CICS facility which allows a CICS application program in oneCICS system to perform synchronous conversation with another program in another

system?Distributed Transaction processing

Page 20 of 22

Page 21: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XV.SECURITY1.Which of the following are the CICS application programming security control facilities?

Sign-on Table(SNT) Transaction Security Resource Security

2.Resource Access Control Facility (RACF) is a CICS supplied security facility.False

3.What is the primary function of the Sign-on Table?Register security information of all CICS users

4.What are the CICS sign-on transactions?CESN and CSSN

5.What are the parameters that you have to supply while signing-on using CESN?Userid & Password

6.What is the macro used for defining an entry in the Sign-on Table?DFHSNT

7.When the EXTSEC parameter of the DFHSNT is set to yes you use the CSSNtransaction for Sign-on.False

8.What should be the value of the parameter EXTSEC when you are using anexternal security manager?YES

9.What are the parameters that you have to give when you are using the CSSN transaction?OPNAME and PASSWORD

10.The CICS transaction security function allows only authorised users toinitiate protected transactions.True

11. For protecting a transaction using the transaction security function, thetwo things that must be done are:1. in the SNT entry of the user who you which to allow to access a protectedtransaction, specify SCTKEY=n2. In the PCT entry of the transactions that you wish to protect specify theTRANSEC=n.True

12.CICS resource security function allows only authorised users andtransactions to access the protected resources. True

13.Which are the resources that can be protected using RACF?User id and Password File and Journals Transactions and programs

14.You can restrict the type of accesses possible on a file by specifying theaccess type allowed in the SERVREQ option of the DFHPCT macro.True

15.What are the various types of accesses that can be allowed by the SERVREQ option of the DFHFCT?ADD,BROWSE,DELETE,READ,UPDATE

Page 21 of 22

Page 22: I.Introduction to CICS - .:: GEOCITIES.ws ::. · Web viewI.Introduction to CICS 1.What does the word CICS stand for ? Customer Information Control System 2.CICS is the product of

Customer Information Control System

XVI.Debugging Facilities & Techniques.1. Which is the CICS command that is used for intercepting an abnormal

termination within a program and to activate, cancel or reactivate an exitfor the ABEND processing?HANDLE CONDITION HANDLE AID HANDLE ABEND

2.Which is the CICS command that is used to terminate a task intentionally?ABEND

3.Which is the command that is used to dump the main storage areas related to a task?DUMP

4.What is the name of the CICS supplied transaction which monitors theexecution of an application program as an interactive debugging aid?CEDF

5.What are the two modes of the Execution Diagnostic Facility?Single Terminal and dual terminal mode

6.What is the CICS supplied transaction which performs syntax checking of a CICS command?CECI

7.What is CEBR used for?For browsing the TSQ

8.What are the major functions of the CEMT transactionINQUIRE SET PERFORM

9.What will happen if the SHUTDOWN option of the PERFORM function of the CEMTtransaction is specified?System will be shut down

Page 22 of 22