cics.txt

5
Which record would be retrieved in VSAM RRDS if RRN has 95 when executing the be low command, assuming record has 1000 records in a file? EXEC CICS READ DATASET(MYDATASET) INTO (MY-DATA-AREA) RRN(95) END EXEC ans--- lets assume it as a fixed length record, so it retrieves 95th record VSAM relative file organization (Also referred to as VSAM fixed-length or variable-length RRDS (relative-record data set) organization.) A VSAM relative-record data set (RRDS) contains records ordered by their relative key. The relative key is the relative record number t hat represents the location of the record relative to where the file begins. The relative record number identifies the fixed- or variable-length record. In a VSAM fixed-length RRDS, records are placed in a series of fixed-length slot s in storage. Each slot is associated with a relative record number. For example , in a fixed-length RRDS containing 10 slots, the first slot has a relative reco rd number of 1, and the tenth slot has a relative record number of 10. In a VSAM variable-length RRDS, the records are ordered according to their relat ive record number. Records are stored and retrieved according to the relative re cord number that you set. Throughout this documentation, the term VSAM relative-record data set (or RRDS) is used to mean both relative-record data sets with fixed-length records and wit h variable-length records, unless they need to be differentiated. If you want to define fixed length records, which one of the following parameter s in the FCT do you code? Choice 1 The LENGTH parameter Choice 2 The STRNO parameter Choice 3 The RECFORM parameter Choice 4 The BASE parameter Choice 5 The FIXED parameter The 3270 bridge provides an interface so that you can run 3270-based CICS® transac tions without a 3270 terminal. The 3270 terminal and end-user are replaced by an application program, known as the client application. Commands for the 3270 terminal in the CICS 3270 user tra nsaction are intercepted by CICS and replaced by a messaging mechanism that prov ides a bridge between the client application and the CICS user transaction. CICS provides two types of 3270 bridge mechanism:

Transcript of cics.txt

Page 1: cics.txt

7/27/2019 cics.txt

http://slidepdf.com/reader/full/cicstxt 1/5

Which record would be retrieved in VSAM RRDS if RRN has 95 when executing the below command, assuming record has 1000 records in a file?

EXEC CICS READDATASET(MYDATASET)INTO (MY-DATA-AREA)RRN(95)END EXEC

ans---

lets assume it as a fixed length record, so it retrieves 95th record

VSAM relative file organization(Also referred to as VSAM fixed-length or variable-length RRDS (relative-recorddata set) organization.) A VSAM relative-record data set (RRDS) contains recordsordered by their relative key. The relative key is the relative record number that represents the location of the record relative to where the file begins. Therelative record number identifies the fixed- or variable-length record.In a VSAM fixed-length RRDS, records are placed in a series of fixed-length slots in storage. Each slot is associated with a relative record number. For example, in a fixed-length RRDS containing 10 slots, the first slot has a relative record number of 1, and the tenth slot has a relative record number of 10.

In a VSAM variable-length RRDS, the records are ordered according to their relative record number. Records are stored and retrieved according to the relative record number that you set.

Throughout this documentation, the term VSAM relative-record data set (or RRDS)is used to mean both relative-record data sets with fixed-length records and with variable-length records, unless they need to be differentiated.

If you want to define fixed length records, which one of the following parameter

s in the FCT do you code?Choice 1The LENGTH parameter

Choice 2The STRNO parameter

Choice 3The RECFORM parameter

Choice 4The BASE parameter

Choice 5The FIXED parameter

The 3270 bridge provides an interface so that you can run 3270-based CICS® transactions without a 3270 terminal.

The 3270 terminal and end-user are replaced by an application program, known asthe client application. Commands for the 3270 terminal in the CICS 3270 user transaction are intercepted by CICS and replaced by a messaging mechanism that provides a bridge between the client application and the CICS user transaction.CICS provides two types of 3270 bridge mechanism:

Page 2: cics.txt

7/27/2019 cics.txt

http://slidepdf.com/reader/full/cicstxt 2/5

The Link3270 mechanismThis mechanism is introduced in CICS Transaction Server for z/OS®, Version 2 R

elease 2 and provides a simplified interface using LINK, ECI or EXCI. All messages have a fixed format and you are not required to provide any user-written supporting programs. This mechanism supports CICSPlex® SM load balancing; bridge facilities are shared between CICS regions on the CICSplex.The START BREXIT mechanism

This 3270 bridge mechanism requires a bridge monitor transaction to initiatethe bridge environment by issuing a START BREXIT command, which specifies the target user transaction and also the name of a user-written bridge exit. The bridge exit is called to intercept 3270 requests and pass them in the form of messages to the client application. You can write your own bridge exit and also defineyour own message formats. Bridge exits are provided to support client applications using Temporary Storage, the Web and WebSphere® MQ as transport mechanisms forrequests, using sample message formats. This mechanism is single region only: bridge facilities are local to the region.

MAPFAIL

occurs if the data to be mapped has a length of zero or does not contain a set-buffer-address (SBA) sequence. It applies only to 3270 devices. The receiving data area contains the unmapped input data stream. The amount of unmapped data moved to the user's area is limited to the length specified in the LENGTH option. Th

e input map is not set to nulls. This condition also arises if a program issuesa RECEIVE MAP command to which the terminal operator responds by pressing a CLEAR or PA key, or by pressing ENTER or a PF key without entering data. Default action: terminate the task abnormally.

Normally MAPFAIL just indicates that no data has ben entered in any of the fields, and thus the MDT-bit is not set in the fileds attribute-byte. CICS issues a"Read Modified" 3270-command, and receives data from fields that has the MDT-bitset. When you get MAPFAIL, this just tells you that no field has been modified,an really is "normal".In program logic you have to check if data has been entered in mandatory fileds.The result may vary, and is a result of users action. Zero or many fileds may h

ave been modified.In your program logic you should FIRST check for invalid PF/PA/Clear-keys, and ONLY do a Receive Map after the check. There is no need to do a Receive Map if the user pressed the Clear or a PA-key, as an example. The EIBAID contains the value for the key pressed to initiate this pseudoconversation - even without a Receive Map.If you use Resp Option, coding RESP(ws-variable) in your Receive Map, you can eliminate the Mapfail problem. If you have an "old-style" program using Handle Condition, there is more to say, and recommendation is to just go away from this styel/model.

At minimum, how many times do you need to press the ENTER key to execute a command in CECI?

ans----

CECI CA T(NAME)Question What does the command above do?

What does the LENGTH option of the SEND command do?

Page 3: cics.txt

7/27/2019 cics.txt

http://slidepdf.com/reader/full/cicstxt 3/5

EXEC CICS HANDLE AIDCLEAR(2000-CLEAR-RTN)

END-EXEC

Any error messages that the CICS translation step produces are stored on which one of the following DD statements?Choice 1

SYSPRINTChoice 2

SYSUDUMPChoice 3

SYSOUTChoice 4

SYSPUNCHChoice 5

SYSIN

RBA

What data area contains execution information for the currently running task?

Choice 1CWAChoice 2

EIBChoice 3

TWAChoice 4

TCTTEChoice 5

TCTUA

What option do you use to specify retrieval of a specific TSQ record?

Choice 3RIDFLD

Choice 4QUEUENUM

Choice 5

How do you get a TDQ TRIGGER to fire?

What are the three essential commands in a pseudo-conversational program?

SEND, RECEIVE, and RETURN

EXEC CICS RETURN END-EXEC.Question If the program has not been invoked by a LINK command, what is the result of executing the above command?Choice 1

The program RETURNs to its state prior to execution.

Page 4: cics.txt

7/27/2019 cics.txt

http://slidepdf.com/reader/full/cicstxt 4/5

Choice 2A fresh screen is displayed, saving previous information.

Choice 3The program relinquishes control to CICS.

Choice 4The program RETURNs the information CICS requests.

Choice 5The program passes its COMMAREA to the RETURNed program

When you enter an invalid statement in CECI, how do you find out what problem CECI had interpreting it?Choice 1

Check the transaction dump produced by the error.Choice 2

Query the RESP code.Choice 3

Look in the TCTTE for the error code.Choice 4

Search the EIB for the error code.Choice 5

View the messages panel.

How do you switch from the CICS program that you are currently running to anothe

r CICS program with the intention of returning to the current CICS program?Choice 1Perform a CALL using the new program name.

Choice 2Perform a LINK.

Choice 3Execute the new program name.

Choice 4Perform a RETURN.

Choice 5Execute the XCTL command.

What does the CICS translator do?

If you are sending a logical message of more than one map and have executed someSEND commands with the ACCUM option, what happens if you omit the ACCUM optionfrom a SEND command?Choice 1

A terminal error occurs.Choice 2

The map is not sent.Choice 3

You are not able to accumulate a map count.Choice 4

The map is sent, overlaying existing data.Choice 5

The terminal beeps, and the program terminates.

 

Page 5: cics.txt

7/27/2019 cics.txt

http://slidepdf.com/reader/full/cicstxt 5/5

What is one method to add entries to system tables while CICS is running?Choice 1

By using RDOChoice 2

By using CEMTChoice 3

By using CEBRChoice 4

By using the transaction serverChoice 5

By using CECI

What is the file source for the CICS pre-compiler?Choice 1

The output from the map assemblerChoice 2

The output from the link-editChoice 3

The input to the COBOL compilerChoice 4

The output from the COBOL compiler

Choice 5Your source code file