DB2 Interview Questions | HOME | JCL TUTORIALS | COBOL TUTORIALS |
Move -1 to the length attribute of the field aand use the CURSOR option.
2. Define the field with IC in the BMS map.
Use CURSOR(n m)??
The map copybook and the load module.
The physical map is the load module and the symbolic map is the data structure.
5. How do you protect a field from being overlaid? -
What is the attribute byte? –
Defines the display/transmission of field. most cases is an output field from the program.
Define EXTATT=YES and the correct terminal type.
Length, attribute and input/output field.
Modified Data Tag. Bit in the attribute byte indicating modification of field on screen. Happens on an input operation.
FSET. Sets MDT on to ensure field is transmitted. Happens on an output operation.
FRSET. Resets MDT. Until this happens, field continues to be sent.
Is the parameter to generate a symbolic map.
On EOF yes.
Use ASIS???
PF key is pressed? Data transmission may happen,
PA key is pressed? Data transmission will not happen.
MAPONLY - to send the map alone, without any data. Eg: used for sending Menu screens.
DATAONLY - to send data alone, without sending the screen layout again. Eg: used for refreshing the screen data.
PF keys wake up the task and transmit modified data, PA keys only wake up the task.
MAP MAPSET FIELD
DFHMSD DFHMDI DFHMDF
Yes. cannot use group by clause???
Yes.
Storage for maps redefine the first. This means largest map has to be the first.
Data was not entered in the field
No, not if ERASE EOF was used.
Use ASIS option on RECEIVE.
Brings the entire datastream from the terminal buffer.
Assemble to create CSECT and Link
DFHEIBLK, DFHCOMMAREA.
PPT SIT
PCT JCT
FCT SNT
DCT SRT
RCT TCT
PPT, PCT, (FCT, DCT, RCT (if needed)).
PPT
Length, Source, Use count, Lang, Res count DFHRPL number
Uses a RCT table.
Use a GETMAIN
?????????????????????
Temporary data stores.
Temp storage read command
Yes. As long as they run in the same region.
Extra partition TDQs are datasets used for communication b’n CICS and other CICS/Batch regions. Intrapartition TDQs are queues for communication within regn.
For intrapartition TDQs specify the # records at which ATI happens. not applicable for extra partition TDQs.
37) How do you fire a batch job from a CICS txn ?
Define an extrapartition TDQ as an internal reader and write the JCL to it. Terminate the JCL with /*EOF.
Automatic Task Initiation. Intra partition TDQ.
If recovery is needed.
Yes in the DFHTST.
Destination Control Table used to define TDQs
Task control commands to make resources serially reusable.
??????????????????????????
Yes.
EXEC CICS SYNCPOINT. Assuming it is a LUW. This will not end the Xn.
Any data exception problem SOC7, SOC4 etc.
DB2/IDMS not up.
When a program has been used in CICS atleast once and then changed and recompiled.
What is EXEC CICS RETRIEVE ?
Used by STARTed tasks to get the parameters passed to them.
EIBRESP, EIBCALEN, EIBRRCDE, EIBTASK, EIBDATE, EIBTIME
Yes, the called routine must be defined in PPT and the calling program must use CALL identifier..
Check EIBRESP after the call or use the HANDLE condition.
Yes, if B tries to access bytes 31-50.
53) When an XCTL is done, does the tranid change ? Is a new task created ? Does it cause an
implicit SYNCPOINT to be issued ?
No, No, Yes.
With a START or ATI.
??????????????????????/
???????????????????????????????
?????????????????????????????????
Same as 36.
START is used to start a new task. It is a interval control command. XCTL is used to pass control to a program within the same task. It is a program control command.
Language interface and call parameters???
Yes. Needs to be preprocessed.
Runaway Task.
In COBOL II start with CEBR, and get the offset/instruction.
64) I invoke a transaction from CICS. The program has a code: MOVE DFHCOMMAREA TO WS-AREA. What happens to this transaction? What happens to the other transactions?
Junk may get moved in. Will cause Storage violation. ????
???????????????????????????????
??????????????????????????
Zero.
File Control Commands. Random, Sequential, forward and backward.
Thru the path. Define path as an FCT and use normal File control commands.
Define the file as recoverable. in cases where records have been inserted into the file, you may need to run a batch program to logically delete the inserted records.
No.
No.
Yes.
----
CICS - Customer Information Control System
CICS is a telecommunications monitor software product from IBM. The IBM mainframe operating systems are batch and time-sharing. CICS supports the development and execution of online applications. It does this by
- communicating with terminals
- sending and receiving fomatted data
- accessing files and database
CICS itself is batch job running on the operating system with high priority. CICS does scheduling of programs that run under the CICS region.
??????????????????????????????????
?????????????????????????????????????
DB2 Interview Questions | HOME | JCL TUTORIALS | COBOL TUTORIALS |