Q) Mention the option (along
with argument type) used in a CICS command to retrieve the response code after execution of the command.
Q)
Mention the option used in the
CICS READ command to gain accessibility directly to the file I/O area. (AssumeCOBOL-II).
A) RESP( S9(8) COM.)
Q)
What’s the CICS command used to
access current date and time?
A) ASKTIME.
Q)
Into what fields will the date
and time values be moved after execution of the above command?
A) EIBDATE & EIBTIME.
Q)
How do you terminate an already
issued DELAY command?
A) EXEC CICS CANCEL
REQID(id)
END-EXEC
Q)
How do you dynamically set the
CURSOR position to a specific field?
A) MOVE –1 to FIELD+L field. Mention CURSOR option in the SEND command.
Q)
Which option of the PCT entry
is used to specify the PF key to be pressed for initiating a transaction?
A) TASKREQ=PF1
Q) Specify the CICS command
used to read a VSAM record starting with prefix “F”. Code all the relevant
options.
A) EXEC CICS READ
DATASET(‘FILENAME’)
INTO(data-area)
RIDFLD(data-area)
KEYLENGTH(1)
GENERIC
LENGTH(WK-LEN)
END-EXEC.
A) SET(ADDRESS OF LINKAGE-AREA).
Q)
Which command is used to
release a record on which exclusive control is gained?
A) EXEC CICS UNLOCK END-EXEC.
Q)
How do you establish a starting
position in a browse operation?
A)
EXEC CICS STARTBR----------
END-EXEC.
Q)
What is the option specified in
the read operation to gain multiple concurrent operations on the same dataset?
A)
REQID(value).
Q)
What is the CICS command that
gives the length of TWA area?
A)
EXEC CICS ASSIGN
TWALENG(data-value)
END-EXEC.
No comments:
Post a Comment