What are the six different types of argument values in
COBOL that can be placed in various options of a CICS
command?
Answer Posted / 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 |
Post New Answer View All Answers
which cics command must be issued by the application program in order to gain access to the common work area (cwa)?
How to get the cursor position when we receive a map?
mention the option (along with argument type) used in a cics command to retrieve the response code after execution of the command?
Name the cics command used to access current date and time?
Kindly specify the pic clause for the data type of length option field type of data fields?
What are the some important fields in the eib block?
Explain cemt transaction commands?
Particular area has been affected in cics screen, what is the process to find?
How to define a vsam file in cics getting into cics to define a vsam file.
What does the 'ceci:cics' transactions do?
Specify the requirements for automatic task initiation?
What is the use of the eibaid field?
Explain how many exceptional condition can be given in a handle condition?
Code the related portions of cics/cobol-i programs to gain addressability to twa area assigned to a particular task. Assme that the size of twa area is 300bytes. What are the advantages if cobol-ii is used in the place of cobol?
Explain the cics command that is used for reading a record from the tdq?