How do you use extended attributes ?
Define EXTATT=YES and the correct terminal type.
What are the 3 working storage fields used for every field on the map? –
Length, attribute and input/output field.
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.
What is MDT? What are FSET, FRSET ?
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.
What is the use of DSECT parameter in BMS?
Is the parameter to generate a symbolic map.
What is effect on RECEIVE MAP when
PF key is pressed? Data transmission may happen,
PA key is pressed? Data transmission will not happen.
Do you receive the attribute byte in the symbolic map?
On EOF yes.
How do you make your BMS maps case sensitive?
What are SEND MAP MAPONLY & SEND MAP DATAONLY ?
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.
What is the difference between a PF key & a PA key ?
PF keys wake up the task and transmit modified data, PA keys only wake up the task.
Name the macros used to define the following:
MAP MAPSET FIELD
DFHMSD DFHMDI DFHMDF
Can you use OCCURS in a BMS map? If you do, what are the issues related with its use?
Yes. cannot use group by clause???
Can you define multiple maps in a BMS mapset?
How is the storage determined in the symbolic map, if you have multiple maps?
Storage for maps redefine the first. This means largest map has to be the first.
What is the meaning of BMS length of field = 0?
Data was not entered in the field
Can you simply check if length = 0 for checking if a field was modified?
No, not if ERASE EOF was used.
What do you do if you do not want characters entered by the user to be folded to uppercase ?
Use ASIS option on RECEIVE.
What does the BUFFER option in RECEIVE mean ?
Brings the entire datastream from the terminal buffer.
What are the steps you go through to a create a BMS executable?
Assemble to create CSECT and Link
When you compile a CICS program, the (pre)compiler puts an extra chunk of code. Where does it get included and that is it called? What is its length? -
List all the CICS tables and explain their contents. –
I have written a CICS program. What tables should I setup to run this program? –
PPT, PCT, (FCT, DCT, RCT (if needed)).
In which table would you make an entry for a BMS map? –
What is the content of the PPT entry? –
Length, Source, Use count, Lang, Res count DFHRPL number
For a CICS-DB2 program, how is the plan referenced? –
Uses a RCT table.
How is dynamic memory allocated within a CICS application program? –
Use a GETMAIN
What are the restrictions while using GETMAIN and FREEMAIN? –
What is the use of a TDQ, TSQ? –
Temporary data stores.
How do you read from a TSQ? –
Temp storage read command
If I create a TSQ from one transaction, can I read it from another transaction? –
Yes. As long as they run in the same region.
What are extra partition & intra partition TDQs?
Extra partition TDQs are datasets used for communication b’n CICS and other CICS/Batch regions. Intrapartition TDQs are queues for communication within regn.
What is trigger level in the context of TDQs?
For intrapartition TDQs specify the # records at which ATI happens. not applicable for extra partition TDQs.
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.
What is ATI? What kind of TDQ can be used?
Automatic Task Initiation. Intra partition TDQ.
Do you require a table entry for a TSQ?
If recovery is needed.