What are the six different types of argument values in
COBOL that can be placed in various options of a CICS
command?
Answer / guest
COBOL as the primary language for CICS application
programming ( command level ) . general command format
given below:
EXEC CICS function
[option(argument value)]
[option(argument value)]
:
the "function" is a CICS service request. the "option" is
one of d options available to the command.
ARGUMENT VALUES :
the argument values determine the characteristics of a
value to be placed to an option as deatiled
information.since these argument values r used for
describing the command format
1- DATA VALUE : the data value is an actual value ot the
name of a field which contains that value. it is used for
specifying such values as the record length and key length.
8
KEYLENG <---- 77 KEYLENG PIC S9(4) COMP VALUE 8.
2-DATA AREA : It is used for specifying such names as the
input/output area and key field.
RECORD-AREA <----- 01 RECORD-AREA.
05 FLD1 PIC X(5).
05 FLD2 PIC X(20).
3-POINTER-REF :the pointer-ref is d anme of a base locator
for linkage (BLL) cell , which is defined as the full word
binary field ( PIC S9(8) COMP). it is used to establish
addressability.
LINKAGE SECTION.
01 PARMLIST.
05 FILLER PIC S9(8) COMP.
05 A-POINTER PIC S9(8) COMP. <---POINTER-REF
05 B-POINTER PIC S9(8) COMP. <---POINTER-REF
01 A-DATA-AREA.
05 FLS1
05 FLS2
01 B-DATA-AREA.
05 FG1
05 FG2
4-NAME : it is used for such purposes as dataset name and
mapname.
'FILEEG'
FILE-NAME <----- 05 FILE-NAME PIC X(5) VALUE 'FILEEG'.
5-LABEL: It is used for passing control to d paragraph ot
the section of the procedure division.
6-HHMMSS : the HHMMSS indicates a decimal constant or tha
data name of S9(7) COMP-3 field ( containing the value
0hhmmss+). it is used for the time exprssion.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is ENQ in CICS?
What is the use of mdt (modified data tag)?
What is meant by PPT and what are its uses?
Explain the different system tables used in cics?
How will you place cursor on a field called ?EMPNO?.
If -1 is moved to length for more than one field on a map, where will the cursor be positioned?
Explain the difference among the EXEC LINK, EXEC XCTL and Cobol II static call statements in CICS.
What is meant by program reentrance?
Explain the difference between the xctl and link commands?
Specify the CICS command used to read a VSAM record starting with prefix ?F?. Code all the relevant options.
What is the use of tdq and tsq?
What CICS facilities can you use to save data between the transactions?