Edit CICS Dataset Record (5.1.3)
Related Topics
The Edit CICS Data set Record screen (5.1.3) allows access to any record in a CICS-defined as well as authorized modifications to the accessed record. Normal security rules and the security provided via the Code Debug CICS global parameters are followed. Data can be displayed in character, vertical hexadecimal, or dump format. File mapping is available on this screen. See USING for more information on file mapping. In addition to data modifications, records can be written to or deleted from a data set .
This screen only allows access to CICS data sets in the CICS FCT or CSD. To access temporary storage queues, transient data sets, DL/I databases, Db2 tables, or MQ queues exit this screen and select the desired option from the File-Utility-Menu-5.
Access this screen by typing the number 1.3 on the File Utility Menu (5), typing 3 on the CICS Data sets Menu (5.1), or as described in Transferring Between Screens.
Edit CICS Data set Record Screen (5.1.3)
COMMAND ===> SCROLL ===> CSR
MODULE: CWDEMCB2 CSECT: CWDEMCB2 COMPILED: 28 MAY 2003 - 11.11.29
VALID COMMANDS: READ NEXT PREV CLOSE
ACCESS METHOD: VSAM TYPE: KSD
FILENAME: DBUGEMP RECLN: 00080 MAX RECLN: 00080
DEC-OFFSET: 000000 ADD-OFFSET: ______ RECFM: F KEYLN: 00005 RKP: 00000
KEY FIELD: ----5
00020
FFFFF
00020
----+---10----+---20----+---30----+---40----+---50----+---60----+---70----+--->
00020EMPLOYEE #20 .<00020000
FFFFFCDDDDECC47FF44404FFFFFFFF4444444444444444444444444444444444444444444444444
00020547368550B200000C000200000000000000000000000000000000000000000000000000000
----+---10----+---20----+---30----+---40----+---50----+---60----+---70----+--->
While at a break/abend, do not attempt to access records that have been read for update. Reads and writes are done by a separate transaction that Code Debug CICS starts. If this transaction does a CICS call and CICS does not complete the call in 14 seconds, Code Debug CICS instructs the transaction to cancel once control returns to it. A message is displayed that the request was not completed. The wait interval of 14 seconds can be changed in the SECONDS_TO_WAIT_FOR_DBFL_TO_COMPLETE global parameter.
Input Fields
FILENAME
Name of the data set as defined in the CICS FCT or CSD and used in CICS file control calls to access the data set.
KEY FIELD
Key of the current record. To retrieve a record, type the key into this field and enter a READ command. A generic read may be performed by typing the partial generic key in the KEY field, pressing the Erase EOF key — not the spacebar — to clear the remainder of the key, typing READ in the COMMAND field, and pressing Enter. To create a new record, type in the key and enter the WRITE command.
HEX/DEC-OFFSET
Displays the current offset within the column’s data. This value is always relative to 0. The data display begins at this offset. This field may be modified. The value entered must be in the range of 0 to the decimal value displayed in the RECLN field. When HEX-OFFSET is displayed, the value will be between 0 and the hexadecimal equivalent of the decimal value displayed in the RECLN field. In addition, when DEC-OFFSET is displayed, a hexadecimal value with a leading positive (+) sign may be entered instead, e.g. 80 or +50 are equivalent.
ADD-OFFSET
Use with the HEX/DEC-OFFSET field to provide a new starting offset into the I/O area. The entered value is added to the value in the HEX/DEC-OFFSET field to yield a new starting offset value. If the entered value has a leading minus sign (-), the entered value is subtracted from the value in the HEX/DEC-OFFSET field.
If the display mode is HEX DUMP mode, only hexadecimal values can be entered. If the display mode is character (HEX OFF) or vertical hexadecimal (HEX ON), the value can be entered either in decimal or hexadecimal. This is done by preceding the value with a plus sign (+). To add a negative offset, precede the value by a minus sign (-). A value preceded by a minus sign is treated as decimal when in HEX ON or HEX OFF mode and as hexadecimal when in HEX DUMP mode.
I/O area
Data from the Code Debug CICS I/O area that can be displayed in four modes. Each mode supports different scrolling commands, as shown in For more information, see Using the Code Debug CICS I/O Area.
Output Fields
ACCESS METHOD
Type of access used in the access method for the data set. Valid entries are:
- DA-UNB: BDAM direct access, unblocked data set
- DA-REL: BDAM blocked data set, deblocked by relative record
- DA-KEY: BDAM blocked data set, deblocked by key
- KSDS: VSAM key-sequenced data set
- RRDS: VSAM relative record data set
- ESDS: VSAM entry-sequenced data set.
RECLN
Current length of the I/O area. The length may exceed the maximum record size for a particular resource. In this case, only the data up to the maximum record length is used. The I/O area may be truncated if any I/O command is issued.
MAX RECLN
Maximum record size that can be used for the current CICS file resource being accessed.
RECFM
Record format. Valid entries are:
- F: Fixed-length record
- V: Variable-length record.
KEYLN
Key length.
RKP
Relative key position — an offset into the record in which key is found.